diff options
author | huanr@chromium.org <huanr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-25 05:50:15 +0000 |
---|---|---|
committer | huanr@chromium.org <huanr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-25 05:50:15 +0000 |
commit | fc23ec8dd5f9359914ba6ab1b8bd00c494f547c9 (patch) | |
tree | 77f972963cda944d1ec123919d355efa35b858dc /chrome/plugin/webplugin_delegate_stub.cc | |
parent | 9787fec1d6a14f3ca72288d277d3049c2c65b85e (diff) | |
download | chromium_src-fc23ec8dd5f9359914ba6ab1b8bd00c494f547c9.zip chromium_src-fc23ec8dd5f9359914ba6ab1b8bd00c494f547c9.tar.gz chromium_src-fc23ec8dd5f9359914ba6ab1b8bd00c494f547c9.tar.bz2 |
Revert r21548 and r21559 due to crash spike.
Review URL: http://codereview.chromium.org/159383
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21614 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/plugin/webplugin_delegate_stub.cc')
-rw-r--r-- | chrome/plugin/webplugin_delegate_stub.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/chrome/plugin/webplugin_delegate_stub.cc b/chrome/plugin/webplugin_delegate_stub.cc index 655a619..a8a42b0 100644 --- a/chrome/plugin/webplugin_delegate_stub.cc +++ b/chrome/plugin/webplugin_delegate_stub.cc @@ -173,7 +173,8 @@ void WebPluginDelegateStub::OnWillSendRequest(int id, const GURL& url) { } void WebPluginDelegateStub::OnDidReceiveResponse( - const PluginMsg_DidReceiveResponseParams& params) { + const PluginMsg_DidReceiveResponseParams& params, bool* cancel) { + *cancel = false; WebPluginResourceClient* client = webplugin_->GetResourceClient(params.id); if (!client) return; @@ -182,7 +183,8 @@ void WebPluginDelegateStub::OnDidReceiveResponse( params.headers, params.expected_length, params.last_modified, - params.request_is_seekable); + params.request_is_seekable, + cancel); } void WebPluginDelegateStub::OnDidReceiveData(int id, |