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

Unified Diff: webkit/glue/resource_fetcher.cc

Issue 5139005: Use WebFrame::createAssociatedURLLoader.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 1 month 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 | « webkit/glue/plugins/webplugin_impl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/resource_fetcher.cc
===================================================================
--- webkit/glue/resource_fetcher.cc (revision 66642)
+++ webkit/glue/resource_fetcher.cc (working copy)
@@ -46,11 +46,8 @@
}
void ResourceFetcher::Start(WebFrame* frame) {
- WebURLRequest request(url_);
- frame->dispatchWillSendRequest(request);
-
- loader_.reset(WebKit::webKitClient()->createURLLoader());
- loader_->loadAsynchronously(request, this);
+ loader_.reset(frame->createAssociatedURLLoader());
+ loader_->loadAsynchronously(WebURLRequest(url_), this);
michaeln 2010/12/07 00:27:32 I wonder about ResourceFetcher resource loads now
}
/////////////////////////////////////////////////////////////////////////////
« no previous file with comments | « webkit/glue/plugins/webplugin_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698