Changeset 228934 in webkit


Ignore:
Timestamp:
Feb 22, 2018 2:36:47 PM (6 years ago)
Author:
Chris Dumez
Message:

ResourceRequestBase::isolatedCopy() fails to isolate copy the cachePartition
https://bugs.webkit.org/show_bug.cgi?id=183059
<rdar://problem/37800202>

Reviewed by Youenn Fablet.

Update ResourceRequestBase::setAsIsolatedCopy() to call isolatedCopy() on the cachePartition as well,
given that it is a String and it would not be safe to send it to another thread otherwise.

  • platform/network/ResourceRequestBase.cpp:

(WebCore::ResourceRequestBase::setAsIsolatedCopy):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r228931 r228934  
     12018-02-22  Chris Dumez  <cdumez@apple.com>
     2
     3        ResourceRequestBase::isolatedCopy() fails to isolate copy the cachePartition
     4        https://bugs.webkit.org/show_bug.cgi?id=183059
     5        <rdar://problem/37800202>
     6
     7        Reviewed by Youenn Fablet.
     8
     9        Update ResourceRequestBase::setAsIsolatedCopy() to call isolatedCopy() on the cachePartition as well,
     10        given that it is a String and it would not be safe to send it to another thread otherwise.
     11
     12        * platform/network/ResourceRequestBase.cpp:
     13        (WebCore::ResourceRequestBase::setAsIsolatedCopy):
     14
    1152018-02-22  Chris Dumez  <cdumez@apple.com>
    216
  • trunk/Source/WebCore/platform/network/ResourceRequestBase.cpp

    r228239 r228934  
    6565    setRequester(other.requester());
    6666    setInitiatorIdentifier(other.initiatorIdentifier().isolatedCopy());
    67     setCachePartition(other.cachePartition());
     67    setCachePartition(other.cachePartition().isolatedCopy());
    6868
    6969    updateResourceRequest();
Note: See TracChangeset for help on using the changeset viewer.