summaryrefslogtreecommitdiffstats
path: root/webkit/glue/webplugin_impl.cc
diff options
context:
space:
mode:
authorananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-12-05 21:48:25 +0000
committerananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-12-05 21:48:25 +0000
commit7819eaf904308012c88078ca294018725a37c845 (patch)
treeda6452165fdaa93fdba906b1b148d4505d889260 /webkit/glue/webplugin_impl.cc
parent63c971414584ce3f5c54513b4755ec1d94f8fe9f (diff)
downloadchromium_src-7819eaf904308012c88078ca294018725a37c845.zip
chromium_src-7819eaf904308012c88078ca294018725a37c845.tar.gz
chromium_src-7819eaf904308012c88078ca294018725a37c845.tar.bz2
Reverting r6396 the PDF fix to not cancel the manual data stream
load when the plugin calls NPN_RequestRead. I was looking at the wrong stream implementation in Firefox :( Bug=5009 TBR=jam Review URL: http://codereview.chromium.org/13212 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6454 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webplugin_impl.cc')
-rw-r--r--webkit/glue/webplugin_impl.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/webkit/glue/webplugin_impl.cc b/webkit/glue/webplugin_impl.cc
index 985fffb..61d2587 100644
--- a/webkit/glue/webplugin_impl.cc
+++ b/webkit/glue/webplugin_impl.cc
@@ -1265,6 +1265,10 @@ bool WebPluginImpl::InitiateHTTPRequest(int resource_id,
return true;
}
+void WebPluginImpl::CancelDocumentLoad() {
+ frame()->loader()->stopLoading(false);
+}
+
void WebPluginImpl::InitiateHTTPRangeRequest(const char* url,
const char* range_info,
HANDLE existing_stream,