Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(76)

Unified Diff: Source/core/fetch/ResourceLoader.cpp

Issue 126753002: Update the ResourceRequest in DocumentLoader after the embedder modified it (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/fetch/ResourceLoader.cpp
diff --git a/Source/core/fetch/ResourceLoader.cpp b/Source/core/fetch/ResourceLoader.cpp
index 8fd9a6a198c3d069bee05c1ad36f209d55a672b5..a71c3477dbb4683bb3b44b9af2fbb950e3ad928d 100644
--- a/Source/core/fetch/ResourceLoader.cpp
+++ b/Source/core/fetch/ResourceLoader.cpp
@@ -267,11 +267,10 @@ void ResourceLoader::willSendRequest(blink::WebURLLoader*, blink::WebURLRequest&
return;
}
m_host->redirectReceived(m_resource, redirectResponse);
+ m_host->willSendRequest(m_resource->identifier(), request, redirectResponse, m_options.initiatorInfo);
Nate Chapin 2014/01/07 22:30:12 If RenderFrameImpl::willSendRequest cancels the lo
m_resource->willSendRequest(request, redirectResponse);
if (request.isNull() || m_state == Terminated)
return;
-
- m_host->willSendRequest(m_resource->identifier(), request, redirectResponse, m_options.initiatorInfo);
request.setReportLoadTiming(true);
ASSERT(!request.isNull());
m_request = request;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698