Commit 9465ba38 authored by ap@apple.com's avatar ap@apple.com

REGRESSION (r139516): NetworkResourceLoadScheduler::receivedRedirect is not called.

        Rubber-stamped by Brady Eidson.

        * NetworkProcess/NetworkResourceLoader.cpp:
        (WebKit::NetworkResourceLoader::willSendRequest): Reverted a small part of r139516.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@140054 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 18ac4c73
2013-01-17 Alexey Proskuryakov <ap@apple.com>
REGRESSION (r139516): NetworkResourceLoadScheduler::receivedRedirect is not called.
Rubber-stamped by Brady Eidson.
* NetworkProcess/NetworkResourceLoader.cpp:
(WebKit::NetworkResourceLoader::willSendRequest): Reverted a small part of r139516.
2013-01-17 Huang Dongsung <luxtella@company100.net>
Coordinated Graphics: Remove redundant behaviors in LayerTreeRenderer.
......@@ -189,6 +189,8 @@ void NetworkResourceLoader::willSendRequest(ResourceHandle*, ResourceRequest& re
// If we ever change this message to be asynchronous we have to include safeguards to make sure the new design interacts well with sync XHR.
if (!sendSync(Messages::WebResourceLoader::WillSendRequest(request, redirectResponse), Messages::WebResourceLoader::WillSendRequest::Reply(request)))
request = ResourceRequest();
RunLoop::main()->dispatch(bind(&NetworkResourceLoadScheduler::receivedRedirect, &NetworkProcess::shared().networkResourceLoadScheduler(), m_identifier, request.url()));
}
// FIXME (NetworkProcess): Many of the following ResourceHandleClient methods definitely need implementations. A few will not.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment