summaryrefslogtreecommitdiffstats
path: root/webkit
diff options
context:
space:
mode:
authorananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-24 19:38:12 +0000
committerananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-24 19:38:12 +0000
commit177fd4de4ba303879b4f3ea860c6d165734346c5 (patch)
treee31f503e5738bc968eab03662c0dc69630565dba /webkit
parentba429fc8d805a9768de1e7d79892daa8cc9502ef (diff)
downloadchromium_src-177fd4de4ba303879b4f3ea860c6d165734346c5.zip
chromium_src-177fd4de4ba303879b4f3ea860c6d165734346c5.tar.gz
chromium_src-177fd4de4ba303879b4f3ea860c6d165734346c5.tar.bz2
Fixes a test_shell crash caused by attempting to cancel the plugin stream request after it
has been deleted. TBR=jam Review URL: http://codereview.chromium.org/159358 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21559 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit')
-rw-r--r--webkit/glue/plugins/plugin_stream_url.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/webkit/glue/plugins/plugin_stream_url.cc b/webkit/glue/plugins/plugin_stream_url.cc
index 2f0cfbe..53d1019 100644
--- a/webkit/glue/plugins/plugin_stream_url.cc
+++ b/webkit/glue/plugins/plugin_stream_url.cc
@@ -51,8 +51,8 @@ void PluginStreamUrl::DidReceiveResponse(const std::string& mime_type,
last_modified,
request_is_seekable);
if (!opened) {
- instance()->RemoveStream(this);
CancelRequest();
+ instance()->RemoveStream(this);
}
}