summaryrefslogtreecommitdiffstats
path: root/webkit/plugins
diff options
context:
space:
mode:
authorpfeldman@chromium.org <pfeldman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-25 11:51:44 +0000
committerpfeldman@chromium.org <pfeldman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-25 11:51:44 +0000
commit1a00140067c3f19cd31c90a469877bbb2e479b58 (patch)
tree14759e1079d1db0c696936d3bec321809a032399 /webkit/plugins
parent3826fed1adbc6a70f55696e0e4404862906a6c97 (diff)
downloadchromium_src-1a00140067c3f19cd31c90a469877bbb2e479b58.zip
chromium_src-1a00140067c3f19cd31c90a469877bbb2e479b58.tar.gz
chromium_src-1a00140067c3f19cd31c90a469877bbb2e479b58.tar.bz2
DevTools: migrate to the new updatream willSendRequest method.
Review URL: http://codereview.chromium.org/6744002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79388 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/plugins')
-rw-r--r--webkit/plugins/npapi/webplugin_impl.cc7
1 files changed, 2 insertions, 5 deletions
diff --git a/webkit/plugins/npapi/webplugin_impl.cc b/webkit/plugins/npapi/webplugin_impl.cc
index 496fc9b..33ba9e8 100644
--- a/webkit/plugins/npapi/webplugin_impl.cc
+++ b/webkit/plugins/npapi/webplugin_impl.cc
@@ -1173,11 +1173,8 @@ bool WebPluginImpl::InitiateHTTPRequest(unsigned long resource_id,
SetReferrer(&info.request, referrer_flag);
- if (WebDevToolsAgent* devtools_agent = GetDevToolsAgent()) {
- devtools_agent->identifierForInitialRequest(resource_id, webframe_,
- info.request);
- devtools_agent->willSendRequest(resource_id, info.request);
- }
+ if (WebDevToolsAgent* devtools_agent = GetDevToolsAgent())
+ devtools_agent->willSendRequest(resource_id, webframe_, info.request);
info.loader.reset(webframe_->createAssociatedURLLoader());
if (!info.loader.get())