summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-04 01:36:24 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-04 01:36:24 +0000
commit3e19a817fb3cb141d8f52d0dd691930fe02276a9 (patch)
tree28ce2e09e2181eb13df0474b0ecb9797287c3ef4
parent492b66f86ee61a9e664be7fe8618130a9da05c92 (diff)
downloadchromium_src-3e19a817fb3cb141d8f52d0dd691930fe02276a9.zip
chromium_src-3e19a817fb3cb141d8f52d0dd691930fe02276a9.tar.gz
chromium_src-3e19a817fb3cb141d8f52d0dd691930fe02276a9.tar.bz2
Don't call AddStream twice for manual responses.
Review URL: http://codereview.chromium.org/39045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10851 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--webkit/glue/plugins/plugin_instance.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/webkit/glue/plugins/plugin_instance.cc b/webkit/glue/plugins/plugin_instance.cc
index 4ba5c03..c401ec6 100644
--- a/webkit/glue/plugins/plugin_instance.cc
+++ b/webkit/glue/plugins/plugin_instance.cc
@@ -374,7 +374,6 @@ void PluginInstance::DidReceiveManualResponse(const std::string& url,
plugin_data_stream_->DidReceiveResponse(mime_type, headers, expected_length,
last_modified, true, &cancel);
- AddStream(plugin_data_stream_.get());
}
void PluginInstance::DidReceiveManualData(const char* buffer, int length) {