| Index: third_party/WebKit/Source/core/loader/FrameFetchContext.cpp
|
| diff --git a/third_party/WebKit/Source/core/loader/FrameFetchContext.cpp b/third_party/WebKit/Source/core/loader/FrameFetchContext.cpp
|
| index cacd1cec9aa4b7a232beeabb57ec9ede5c2abf74..d41983f1244fc18d709e7d1bd87440f610a22c3e 100644
|
| --- a/third_party/WebKit/Source/core/loader/FrameFetchContext.cpp
|
| +++ b/third_party/WebKit/Source/core/loader/FrameFetchContext.cpp
|
| @@ -319,7 +319,6 @@ void FrameFetchContext::dispatchDidChangeResourcePriority(unsigned long identifi
|
| void FrameFetchContext::prepareRequest(ResourceRequest& request)
|
| {
|
| frame()->loader().applyUserAgent(request);
|
| - frame()->loader().client()->dispatchWillSendRequest(request);
|
| }
|
|
|
| void FrameFetchContext::dispatchWillSendRequest(unsigned long identifier, ResourceRequest& request, const ResourceResponse& redirectResponse, const FetchInitiatorInfo& initiatorInfo)
|
| @@ -330,6 +329,7 @@ void FrameFetchContext::dispatchWillSendRequest(unsigned long identifier, Resour
|
| if (!redirectResponse.isNull())
|
| prepareRequest(request);
|
| TRACE_EVENT_INSTANT1("devtools.timeline", "ResourceSendRequest", TRACE_EVENT_SCOPE_THREAD, "data", InspectorSendRequestEvent::data(identifier, frame(), request));
|
| + frame()->loader().client()->dispatchWillSendRequest(request);
|
| InspectorInstrumentation::willSendRequest(frame(), identifier, masterDocumentLoader(), request, redirectResponse, initiatorInfo);
|
| if (frame()->frameScheduler())
|
| frame()->frameScheduler()->didStartLoading(identifier);
|
|
|