Index: ppapi/native_client/src/trusted/plugin/service_runtime.cc |
diff --git a/ppapi/native_client/src/trusted/plugin/service_runtime.cc b/ppapi/native_client/src/trusted/plugin/service_runtime.cc |
index 1ccb28a13049542a327f2c8c2a91cf32ade411d2..95c2a36a9a3a8606d14d9f25f762b0dffa2b2caf 100644 |
--- a/ppapi/native_client/src/trusted/plugin/service_runtime.cc |
+++ b/ppapi/native_client/src/trusted/plugin/service_runtime.cc |
@@ -406,7 +406,10 @@ void PluginReverseInterface::OpenManifestEntry_MainThreadContinuation( |
&PluginReverseInterface::StreamAsFile_MainThreadContinuation, |
open_cont); |
- plugin_->StreamAsFile(mapped_url, &open_cont->pp_file_info, stream_cc); |
+ GetNaClInterface()->DownloadFile(plugin_->pp_instance(), |
+ mapped_url.c_str(), |
+ &open_cont->pp_file_info, |
+ stream_cc.pp_completion_callback()); |
// p is deleted automatically. |
} |