Index: components/nacl/renderer/plugin/plugin.cc |
diff --git a/components/nacl/renderer/plugin/plugin.cc b/components/nacl/renderer/plugin/plugin.cc |
index b42034d5b4148fa320161173a09c16a645ee16f1..e99e0f8df20b4410c91579fff2d566bce3b31bfb 100644 |
--- a/components/nacl/renderer/plugin/plugin.cc |
+++ b/components/nacl/renderer/plugin/plugin.cc |
@@ -359,6 +359,10 @@ void Plugin::NaClManifestFileDidOpen(int32_t pp_error) { |
// Will always call the callback on success or failure. |
nacl_interface_->DownloadNexe(pp_instance(), |
program_url.c_str(), |
+ // pre-open resource files on nonsfi mode |
+ // TODO(yusukes): Enable the feature for |
+ // SFI-NaCl too. |
+ uses_nonsfi_mode, |
&nexe_file_info_, |
open_callback.pp_completion_callback()); |
return; |