summaryrefslogtreecommitdiffstats
path: root/chrome/renderer
diff options
context:
space:
mode:
authorhuanr@chromium.org <huanr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-25 05:50:15 +0000
committerhuanr@chromium.org <huanr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-25 05:50:15 +0000
commitfc23ec8dd5f9359914ba6ab1b8bd00c494f547c9 (patch)
tree77f972963cda944d1ec123919d355efa35b858dc /chrome/renderer
parent9787fec1d6a14f3ca72288d277d3049c2c65b85e (diff)
downloadchromium_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/renderer')
-rw-r--r--chrome/renderer/webplugin_delegate_proxy.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/chrome/renderer/webplugin_delegate_proxy.cc b/chrome/renderer/webplugin_delegate_proxy.cc
index 016c851..03b2b57 100644
--- a/chrome/renderer/webplugin_delegate_proxy.cc
+++ b/chrome/renderer/webplugin_delegate_proxy.cc
@@ -100,7 +100,8 @@ class ResourceClientProxy : public WebPluginResourceClient {
const std::string& headers,
uint32 expected_length,
uint32 last_modified,
- bool request_is_seekable) {
+ bool request_is_seekable,
+ bool* cancel) {
DCHECK(channel_ != NULL);
PluginMsg_DidReceiveResponseParams params;
params.id = resource_id_;
@@ -112,7 +113,8 @@ class ResourceClientProxy : public WebPluginResourceClient {
// Grab a reference on the underlying channel so it does not get
// deleted from under us.
scoped_refptr<PluginChannelHost> channel_ref(channel_);
- channel_->Send(new PluginMsg_DidReceiveResponse(instance_id_, params));
+ channel_->Send(new PluginMsg_DidReceiveResponse(instance_id_, params,
+ cancel));
}
void DidReceiveData(const char* buffer, int length, int data_offset) {