Title: [176395] trunk/Source/WebCore
Revision
176395
Author
[email protected]
Date
2014-11-20 07:20:37 -0800 (Thu, 20 Nov 2014)

Log Message

[WinCairo] Compile error when GStreamer is enabled.
https://bugs.webkit.org/show_bug.cgi?id=138925

Patch by [email protected] <[email protected]> on 2014-11-20
Reviewed by Philippe Normand.

A guard is missing for an overridden method.

* platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (176394 => 176395)


--- trunk/Source/WebCore/ChangeLog	2014-11-20 13:12:55 UTC (rev 176394)
+++ trunk/Source/WebCore/ChangeLog	2014-11-20 15:20:37 UTC (rev 176395)
@@ -1,3 +1,14 @@
+2014-11-20  [email protected]  <[email protected]>
+
+        [WinCairo] Compile error when GStreamer is enabled.
+        https://bugs.webkit.org/show_bug.cgi?id=138925
+
+        Reviewed by Philippe Normand.
+
+        A guard is missing for an overridden method.
+
+        * platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp:
+
 2014-11-20  Adrian Perez de Castro  <[email protected]>
 
         [GTK] Provide convenience API in DOM bindings to post messages to user message handlers

Modified: trunk/Source/WebCore/platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp (176394 => 176395)


--- trunk/Source/WebCore/platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp	2014-11-20 13:12:55 UTC (rev 176394)
+++ trunk/Source/WebCore/platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp	2014-11-20 15:20:37 UTC (rev 176395)
@@ -69,7 +69,9 @@
 
     private:
         // PlatformMediaResourceLoaderClient virtual methods.
+#if USE(SOUP)
         virtual char* getOrCreateReadBuffer(size_t requestedSize, size_t& actualSize) override;
+#endif
         virtual void responseReceived(const ResourceResponse&) override;
         virtual void dataReceived(const char*, int) override;
         virtual void accessControlCheckFailed(const ResourceError&) override;
@@ -994,10 +996,12 @@
 {
 }
 
+#if USE(SOUP)
 char* CachedResourceStreamingClient::getOrCreateReadBuffer(size_t requestedSize, size_t& actualSize)
 {
     return createReadBuffer(requestedSize, actualSize);
 }
+#endif
 
 void CachedResourceStreamingClient::responseReceived(const ResourceResponse& response)
 {
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to