Title: [190248] trunk/Source/WebCore
Revision
190248
Author
[email protected]
Date
2015-09-25 10:52:08 -0700 (Fri, 25 Sep 2015)

Log Message

Fix the broken !ENABLE(STREAM_API) build
https://bugs.webkit.org/show_bug.cgi?id=149525

Reviewed by Darin Adler.

Removed some #ifdef ENABLE(STREAMS_API) to make build work when STREAMS_API is off.
This is a temporary fix.

* bindings/js/WebCoreJSClientData.h:
(WebCore::WebCoreJSClientData::WebCoreJSClientData):
(WebCore::initNormalWorldClientData):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (190247 => 190248)


--- trunk/Source/WebCore/ChangeLog	2015-09-25 17:51:33 UTC (rev 190247)
+++ trunk/Source/WebCore/ChangeLog	2015-09-25 17:52:08 UTC (rev 190248)
@@ -1,3 +1,17 @@
+2015-09-25  Youenn Fablet  <[email protected]>
+
+        Fix the broken !ENABLE(STREAM_API) build
+        https://bugs.webkit.org/show_bug.cgi?id=149525
+
+        Reviewed by Darin Adler.
+
+        Removed some #ifdef ENABLE(STREAMS_API) to make build work when STREAMS_API is off.
+        This is a temporary fix.
+
+        * bindings/js/WebCoreJSClientData.h:
+        (WebCore::WebCoreJSClientData::WebCoreJSClientData):
+        (WebCore::initNormalWorldClientData):
+
 2015-09-25  Chris Dumez  <[email protected]>
 
         Unreviewed, nit fix after r190229.

Modified: trunk/Source/WebCore/bindings/js/WebCoreJSClientData.h (190247 => 190248)


--- trunk/Source/WebCore/bindings/js/WebCoreJSClientData.h	2015-09-25 17:51:33 UTC (rev 190247)
+++ trunk/Source/WebCore/bindings/js/WebCoreJSClientData.h	2015-09-25 17:52:08 UTC (rev 190248)
@@ -41,10 +41,8 @@
 
 public:
     explicit WebCoreJSClientData(JSC::VM& vm)
-#if ENABLE(STREAMS_API)
         : m_readableStreamBuiltins(&vm)
         , m_countQueuingStrategyBuiltins(&vm)
-#endif
     {
     }
 
@@ -80,19 +78,15 @@
         m_worldSet.remove(&world);
     }
 
-#if ENABLE(STREAMS_API)
     ReadableStreamBuiltinsWrapper& readableStreamBuiltins() { return m_readableStreamBuiltins; }
     CountQueuingStrategyBuiltinsWrapper& countQueuingStrategyBuiltins() { return m_countQueuingStrategyBuiltins; }
-#endif
 
 private:
     HashSet<DOMWrapperWorld*> m_worldSet;
     RefPtr<DOMWrapperWorld> m_normalWorld;
 
-#if ENABLE(STREAMS_API)
     ReadableStreamBuiltinsWrapper m_readableStreamBuiltins;
     CountQueuingStrategyBuiltinsWrapper m_countQueuingStrategyBuiltins;
-#endif
 };
 
 inline void initNormalWorldClientData(JSC::VM* vm)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to