Title: [87997] trunk/Source/WebCore
Revision
87997
Author
[email protected]
Date
2011-06-03 01:57:49 -0700 (Fri, 03 Jun 2011)

Log Message

[Qt][V8] build fix.

Modified Paths


Diff

Modified: trunk/Source/WebCore/ChangeLog (87996 => 87997)


--- trunk/Source/WebCore/ChangeLog	2011-06-03 08:36:53 UTC (rev 87996)
+++ trunk/Source/WebCore/ChangeLog	2011-06-03 08:57:49 UTC (rev 87997)
@@ -1,3 +1,16 @@
+2011-06-03  Peter Varga  <[email protected]>
+
+        Rubber-stamped by Csaba Osztrogon\xE1c.
+
+        [Qt][V8] Buildfix after r87988.
+
+        No new tests needed.
+
+        * bindings/v8/ScheduledAction.cpp: Add missing guards.
+        (WebCore::ScheduledAction::execute):
+        * bindings/v8/V8EventListener.cpp: Ditto.
+        (WebCore::V8EventListener::callListenerFunction):
+
 2011-06-03  Dominic Cooney  <[email protected]>
 
         Reviewed by Kent Tamura.

Modified: trunk/Source/WebCore/bindings/v8/ScheduledAction.cpp (87996 => 87997)


--- trunk/Source/WebCore/bindings/v8/ScheduledAction.cpp	2011-06-03 08:36:53 UTC (rev 87996)
+++ trunk/Source/WebCore/bindings/v8/ScheduledAction.cpp	2011-06-03 08:57:49 UTC (rev 87997)
@@ -34,7 +34,10 @@
 #include "Document.h"
 #include "ScriptExecutionContext.h"
 #include "ScriptSourceCode.h"
+
+#if PLATFORM(CHROMIUM)
 #include "TraceEvent.h"
+#endif
 
 #include "V8Binding.h"
 #include "V8Proxy.h"
@@ -111,7 +114,9 @@
     if (v8Context.IsEmpty())
         return; // JS may not be enabled.
 
+#if PLATFORM(CHROMIUM)
     TRACE_EVENT("ScheduledAction::execute", this, 0);
+#endif
 
     v8::Context::Scope scope(v8Context);
 

Modified: trunk/Source/WebCore/bindings/v8/V8EventListener.cpp (87996 => 87997)


--- trunk/Source/WebCore/bindings/v8/V8EventListener.cpp	2011-06-03 08:36:53 UTC (rev 87996)
+++ trunk/Source/WebCore/bindings/v8/V8EventListener.cpp	2011-06-03 08:57:49 UTC (rev 87997)
@@ -31,7 +31,10 @@
 #include "config.h"
 #include "V8EventListener.h"
 
+#if PLATFORM(CHROMIUM)
 #include "TraceEvent.h"
+#endif
+
 #include "V8Proxy.h"
 
 namespace WebCore {
@@ -74,7 +77,9 @@
 
     v8::Handle<v8::Value> parameters[1] = { jsEvent };
 
+#if PLATFORM(CHROMIUM)
     TRACE_EVENT("V8EventListener::callListenerFunction", this, 0);
+#endif
 
     if (V8Proxy* proxy = V8Proxy::retrieve(context))
         return proxy->callFunction(handlerFunction, receiver, 1, parameters);
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to