Title: [200985] trunk/Source/WebCore
Revision
200985
Author
d...@apple.com
Date
2016-05-16 18:05:41 -0700 (Mon, 16 May 2016)

Log Message

WebCoreJSBuiltinInternals won't compile if some build flags are off
https://bugs.webkit.org/show_bug.cgi?id=157777
<rdar://problem/26312967>

Reviewed by Simon Fraser.

Allow this file to compile when some build flags are disabled.

* bindings/js/WebCoreJSBuiltinInternals.cpp:
(WebCore::JSBuiltinInternalFunctions::JSBuiltinInternalFunctions):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (200984 => 200985)


--- trunk/Source/WebCore/ChangeLog	2016-05-17 00:29:40 UTC (rev 200984)
+++ trunk/Source/WebCore/ChangeLog	2016-05-17 01:05:41 UTC (rev 200985)
@@ -1,3 +1,16 @@
+2016-05-16  Dean Jackson  <d...@apple.com>
+
+        WebCoreJSBuiltinInternals won't compile if some build flags are off
+        https://bugs.webkit.org/show_bug.cgi?id=157777
+        <rdar://problem/26312967>
+
+        Reviewed by Simon Fraser.
+
+        Allow this file to compile when some build flags are disabled.
+
+        * bindings/js/WebCoreJSBuiltinInternals.cpp:
+        (WebCore::JSBuiltinInternalFunctions::JSBuiltinInternalFunctions):
+
 2016-05-16  Brady Eidson  <beid...@apple.com>
 
         Modern IDB: Give each UniqueIDBDatabase its own task queues.

Modified: trunk/Source/WebCore/bindings/js/WebCoreJSBuiltinInternals.cpp (200984 => 200985)


--- trunk/Source/WebCore/bindings/js/WebCoreJSBuiltinInternals.cpp	2016-05-17 00:29:40 UTC (rev 200984)
+++ trunk/Source/WebCore/bindings/js/WebCoreJSBuiltinInternals.cpp	2016-05-17 01:05:41 UTC (rev 200985)
@@ -49,6 +49,12 @@
     , m_writableStreamInternalsFunctions(vm)
 #endif
 {
+#if !ENABLE(STREAMS_API) && !ENABLE(WEB_RTC)
+    // FIXME: When none of the features that use this class are enabled, we
+    // don't ever use the vm member. However, the logic of initializing
+    // it when any of the features are enabled gets pretty messy.
+    (void)vm;
+#endif
 }
 
 void JSBuiltinInternalFunctions::visit(JSC::SlotVisitor& visitor)
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to