Changeset 224319 in webkit


Ignore:
Timestamp:
Nov 1, 2017 9:49:10 PM (6 years ago)
Author:
commit-queue@webkit.org
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 <Fujii Hironori> on 2017-11-01

  • platform/network/curl/ResourceHandleCurl.cpp:

(WebCore::ResourceHandle::platformLoadResourceSynchronously):
Added the 6th arguemnt shouldContentEncodingSniff.

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r224318 r224319  
     12017-11-01  Fujii Hironori  <Hironori.Fujii@sony.com>
     2
     3        [curl] Fix build after r224299
     4        https://bugs.webkit.org/show_bug.cgi?id=179155
     5
     6        Unreviewed.
     7
     8        Bug 175597 added the 6th argument of ResourceHandle constructor.
     9        Apply the same change of ResourceHandleCFNet.cpp to
     10        platformLoadResourceSynchronously of ResourceHandleCurl.cpp.
     11
     12        No new tests since there should be no behavioral change other
     13
     14        * platform/network/curl/ResourceHandleCurl.cpp:
     15        (WebCore::ResourceHandle::platformLoadResourceSynchronously):
     16        Added the 6th arguemnt shouldContentEncodingSniff.
     17
    1182017-11-01  Simon Fraser  <simon.fraser@apple.com>
    219
  • trunk/Source/WebCore/platform/network/curl/ResourceHandleCurl.cpp

    r224267 r224319  
    246246
    247247    SynchronousLoaderClient client;
    248     RefPtr<ResourceHandle> handle = adoptRef(new ResourceHandle(context, request, &client, false, false));
     248    bool defersLoading = false;
     249    bool shouldContentSniff = true;
     250    bool shouldContentEncodingSniff = true;
     251    RefPtr<ResourceHandle> handle = adoptRef(new ResourceHandle(context, request, &client, defersLoading, shouldContentSniff, shouldContentEncodingSniff));
    249252
    250253    handle->d->m_delegate = adoptRef(new ResourceHandleCurlDelegate(handle.get()));
Note: See TracChangeset for help on using the changeset viewer.