Changeset 212530 in webkit
- Timestamp:
- Feb 16, 2017 9:28:18 PM (7 years ago)
- Location:
- branches/safari-603-branch/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/safari-603-branch/Source/WebCore/ChangeLog
r212529 r212530 1 2017-02-16 Matthew Hanson <matthew_hanson@apple.com> 2 3 Merge r212330. rdar://problem/29899473 4 5 2017-02-14 Brady Eidson <beidson@apple.com> 6 7 Speculative fix for: Crash in DocumentThreadableLoader::redirectReceived. 8 <rdar://problem/29899473> and https://bugs.webkit.org/show_bug.cgi?id=168337 9 10 Reviewed by Geoffrey Garen. 11 12 No new tests (Unable to find a reproduction). 13 14 * loader/DocumentThreadableLoader.cpp: 15 (WebCore::DocumentThreadableLoader::loadRequest): 16 1 17 2017-02-16 Matthew Hanson <matthew_hanson@apple.com> 2 18 -
branches/safari-603-branch/Source/WebCore/loader/DocumentThreadableLoader.cpp
r212059 r212530 362 362 void DocumentThreadableLoader::loadRequest(ResourceRequest&& request, SecurityCheckPolicy securityCheck) 363 363 { 364 Ref<DocumentThreadableLoader> protectedThis(*this); 365 364 366 // Any credential should have been removed from the cross-site requests. 365 367 const URL& requestURL = request.url(); … … 383 385 384 386 ASSERT(!m_resource); 387 if (m_resource) { 388 CachedResourceHandle<CachedRawResource> resource = std::exchange(m_resource, nullptr); 389 resource->removeClient(*this); 390 } 391 385 392 // We create an URL here as the request will be moved in requestRawResource 386 393 URL requestUrl = newRequest.resourceRequest().url();
Note: See TracChangeset
for help on using the changeset viewer.