Added missing #if(SOUP) after r197591.
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 10 Mar 2016 00:14:07 +0000 (00:14 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 10 Mar 2016 00:14:07 +0000 (00:14 +0000)
https://bugs.webkit.org/show_bug.cgi?id=155259

Patch by Konstantin Tokarev <annulen@yandex.ru> on 2016-03-09
Reviewed by Alex Christensen.

No new tests needed.

* platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@197897 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp

index 2267510..e2ac3b5 100644 (file)
@@ -1,3 +1,14 @@
+2016-03-09  Konstantin Tokarev  <annulen@yandex.ru>
+
+        Added missing #if(SOUP) after r197591.
+        https://bugs.webkit.org/show_bug.cgi?id=155259
+
+        Reviewed by Alex Christensen.
+
+        No new tests needed.
+
+        * platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp:
+
 2016-03-09  Ada Chan  <adachan@apple.com>
 
         Add a getter for WebVideoFullscreenInterfaceObjC and update its rate property
index 86f7e5a..47a3f25 100644 (file)
@@ -1078,10 +1078,12 @@ void ResourceHandleStreamingClient::setDefersLoading(bool defers)
         m_resource->setDefersLoading(defers);
 }
 
+#if USE(SOUP)
 char* ResourceHandleStreamingClient::getOrCreateReadBuffer(size_t requestedSize, size_t& actualSize)
 {
     return createReadBuffer(requestedSize, actualSize);
 }
+#endif
 
 void ResourceHandleStreamingClient::willSendRequest(ResourceHandle*, ResourceRequest&, const ResourceResponse&)
 {