Title: [100052] trunk/Source/WebCore
Revision
100052
Author
[email protected]
Date
2011-11-11 17:37:06 -0800 (Fri, 11 Nov 2011)

Log Message

[Chromium] Enable building without shared workers.
https://bugs.webkit.org/show_bug.cgi?id=72122

Reviewed by Yury Semikhatsky.

* bindings/v8/WorkerScriptDebugServer.cpp:
(WebCore::retrieveWorkerContext):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (100051 => 100052)


--- trunk/Source/WebCore/ChangeLog	2011-11-12 01:26:22 UTC (rev 100051)
+++ trunk/Source/WebCore/ChangeLog	2011-11-12 01:37:06 UTC (rev 100052)
@@ -1,3 +1,13 @@
+2011-11-11  John Knottenbelt  <[email protected]>
+
+        [Chromium] Enable building without shared workers.
+        https://bugs.webkit.org/show_bug.cgi?id=72122
+
+        Reviewed by Yury Semikhatsky.
+
+        * bindings/v8/WorkerScriptDebugServer.cpp:
+        (WebCore::retrieveWorkerContext):
+
 2011-11-11  Julien Chaffraix  <[email protected]>
 
         Crash in styleDidChange when changing a table cell's height.

Modified: trunk/Source/WebCore/bindings/v8/WorkerScriptDebugServer.cpp (100051 => 100052)


--- trunk/Source/WebCore/bindings/v8/WorkerScriptDebugServer.cpp	2011-11-12 01:26:22 UTC (rev 100051)
+++ trunk/Source/WebCore/bindings/v8/WorkerScriptDebugServer.cpp	2011-11-12 01:37:06 UTC (rev 100052)
@@ -60,8 +60,10 @@
     WrapperTypeInfo* typeInfo = V8DOMWrapper::domWrapperType(prototype);
     if (&V8DedicatedWorkerContext::info == typeInfo)
         return V8DedicatedWorkerContext::toNative(prototype);
+#if ENABLE(SHARED_WORKERS)
     if (&V8SharedWorkerContext::info == typeInfo)
         return V8SharedWorkerContext::toNative(prototype);
+#endif
     ASSERT_NOT_REACHED();
     return 0;
 }
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to