Title: [96669] trunk/Source/WebCore
Revision
96669
Author
wei...@apple.com
Date
2011-10-04 18:12:34 -0700 (Tue, 04 Oct 2011)

Log Message

Stub out WorkerScriptController::disableEval for v8 to fix the build.

* bindings/v8/WorkerScriptController.cpp:
(WebCore::WorkerScriptController::disableEval):
* bindings/v8/WorkerScriptController.h:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (96668 => 96669)


--- trunk/Source/WebCore/ChangeLog	2011-10-05 01:10:28 UTC (rev 96668)
+++ trunk/Source/WebCore/ChangeLog	2011-10-05 01:12:34 UTC (rev 96669)
@@ -1,5 +1,13 @@
 2011-10-04  Sam Weinig  <s...@webkit.org>
 
+        Stub out WorkerScriptController::disableEval for v8 to fix the build.
+
+        * bindings/v8/WorkerScriptController.cpp:
+        (WebCore::WorkerScriptController::disableEval):
+        * bindings/v8/WorkerScriptController.h:
+
+2011-10-04  Sam Weinig  <s...@webkit.org>
+
         OVERRIDE seems to not be working for Windows. Remove it for now.
 
         * dom/Document.h:

Modified: trunk/Source/WebCore/bindings/v8/WorkerScriptController.cpp (96668 => 96669)


--- trunk/Source/WebCore/bindings/v8/WorkerScriptController.cpp	2011-10-05 01:10:28 UTC (rev 96668)
+++ trunk/Source/WebCore/bindings/v8/WorkerScriptController.cpp	2011-10-05 01:12:34 UTC (rev 96669)
@@ -109,6 +109,10 @@
     return m_executionForbidden;
 }
 
+void WorkerScriptController::disableEval()
+{
+}
+
 void WorkerScriptController::setException(ScriptValue exception)
 {
     throwError(*exception.v8Value());

Modified: trunk/Source/WebCore/bindings/v8/WorkerScriptController.h (96668 => 96669)


--- trunk/Source/WebCore/bindings/v8/WorkerScriptController.h	2011-10-05 01:10:28 UTC (rev 96668)
+++ trunk/Source/WebCore/bindings/v8/WorkerScriptController.h	2011-10-05 01:12:34 UTC (rev 96669)
@@ -72,6 +72,8 @@
         void forbidExecution();
         bool isExecutionForbidden() const;
 
+        void disableEval();
+
         // Returns WorkerScriptController for the currently executing context. 0 will be returned if the current executing context is not the worker context.
         static WorkerScriptController* controllerForContext();
 
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to