summaryrefslogtreecommitdiffstats
path: root/webkit/glue/plugins/webplugin_impl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/glue/plugins/webplugin_impl.cc')
-rw-r--r--webkit/glue/plugins/webplugin_impl.cc11
1 files changed, 1 insertions, 10 deletions
diff --git a/webkit/glue/plugins/webplugin_impl.cc b/webkit/glue/plugins/webplugin_impl.cc
index 3891563..f6ef803 100644
--- a/webkit/glue/plugins/webplugin_impl.cc
+++ b/webkit/glue/plugins/webplugin_impl.cc
@@ -1168,22 +1168,13 @@ bool WebPluginImpl::InitiateHTTPRequest(unsigned long resource_id,
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);