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

Unified Diff: webkit/glue/plugins/webplugin_impl.cc

Issue 5139005: Use WebFrame::createAssociatedURLLoader.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years 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/pepper_url_loader.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/plugins/webplugin_impl.cc
===================================================================
--- webkit/glue/plugins/webplugin_impl.cc (revision 69012)
+++ webkit/glue/plugins/webplugin_impl.cc (working copy)
@@ -1168,22 +1168,13 @@
SetReferrer(&info.request, referrer_flag);
- // Sets the routing id to associate the ResourceRequest with the RenderView.
- webframe_->dispatchWillSendRequest(info.request);
-
- // Sets the appcache host id to allow retrieval from the appcache.
- if (WebApplicationCacheHostImpl* appcache_host =
- WebApplicationCacheHostImpl::FromFrame(webframe_)) {
- appcache_host->willStartSubResourceRequest(info.request);
- }
-
if (WebDevToolsAgent* devtools_agent = GetDevToolsAgent()) {
devtools_agent->identifierForInitialRequest(resource_id, webframe_,
info.request);
devtools_agent->willSendRequest(resource_id, info.request);
}
- info.loader.reset(WebKit::webKitClient()->createURLLoader());
+ info.loader.reset(webframe_->createAssociatedURLLoader());
if (!info.loader.get())
return false;
info.loader->loadAsynchronously(info.request, this);
« no previous file with comments | « webkit/glue/plugins/pepper_url_loader.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698