Title: [224319] trunk/Source/WebCore
Revision
224319
Author
[email protected]
Date
2017-11-01 21:49:10 -0700 (Wed, 01 Nov 2017)

Log Message

[curl] Fix build after r224299
https://bugs.webkit.org/show_bug.cgi?id=179155

Unreviewed.

Bug 175597 added the 6th argument of ResourceHandle constructor.
Apply the same change of ResourceHandleCFNet.cpp to
platformLoadResourceSynchronously of ResourceHandleCurl.cpp.

No new tests since there should be no behavioral change other

Patch by Fujii Hironori <[email protected]> on 2017-11-01

* platform/network/curl/ResourceHandleCurl.cpp:
(WebCore::ResourceHandle::platformLoadResourceSynchronously):
Added the 6th arguemnt shouldContentEncodingSniff.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (224318 => 224319)


--- trunk/Source/WebCore/ChangeLog	2017-11-02 04:30:38 UTC (rev 224318)
+++ trunk/Source/WebCore/ChangeLog	2017-11-02 04:49:10 UTC (rev 224319)
@@ -1,3 +1,20 @@
+2017-11-01  Fujii Hironori  <[email protected]>
+
+        [curl] Fix build after r224299
+        https://bugs.webkit.org/show_bug.cgi?id=179155
+
+        Unreviewed.
+
+        Bug 175597 added the 6th argument of ResourceHandle constructor.
+        Apply the same change of ResourceHandleCFNet.cpp to
+        platformLoadResourceSynchronously of ResourceHandleCurl.cpp.
+
+        No new tests since there should be no behavioral change other
+
+        * platform/network/curl/ResourceHandleCurl.cpp:
+        (WebCore::ResourceHandle::platformLoadResourceSynchronously):
+        Added the 6th arguemnt shouldContentEncodingSniff.
+
 2017-11-01  Simon Fraser  <[email protected]>
 
         Fix iOS build after r224312.

Modified: trunk/Source/WebCore/platform/network/curl/ResourceHandleCurl.cpp (224318 => 224319)


--- trunk/Source/WebCore/platform/network/curl/ResourceHandleCurl.cpp	2017-11-02 04:30:38 UTC (rev 224318)
+++ trunk/Source/WebCore/platform/network/curl/ResourceHandleCurl.cpp	2017-11-02 04:49:10 UTC (rev 224319)
@@ -245,7 +245,10 @@
     ASSERT(isMainThread());
 
     SynchronousLoaderClient client;
-    RefPtr<ResourceHandle> handle = adoptRef(new ResourceHandle(context, request, &client, false, false));
+    bool defersLoading = false;
+    bool shouldContentSniff = true;
+    bool shouldContentEncodingSniff = true;
+    RefPtr<ResourceHandle> handle = adoptRef(new ResourceHandle(context, request, &client, defersLoading, shouldContentSniff, shouldContentEncodingSniff));
 
     handle->d->m_delegate = adoptRef(new ResourceHandleCurlDelegate(handle.get()));
     handle->d->m_delegate->dispatchSynchronousJob();
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to