Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(627)

Unified Diff: components/nacl/browser/nacl_process_host.cc

Issue 1125043002: NaCl: Stop sending resource FDs with NaClProcessMsg_Start (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address comments Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/nacl/browser/nacl_host_message_filter.cc ('k') | components/nacl/common/nacl_messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/nacl/browser/nacl_process_host.cc
diff --git a/components/nacl/browser/nacl_process_host.cc b/components/nacl/browser/nacl_process_host.cc
index 08bf18d15d805d3325fb09a670abd661cec50241..0e151fe37f115fec59e47a07978a1a6731ee1b24 100644
--- a/components/nacl/browser/nacl_process_host.cc
+++ b/components/nacl/browser/nacl_process_host.cc
@@ -874,14 +874,14 @@ bool NaClProcessHost::StartNaClExecution() {
// resource files here even for SFI mode because the descriptors are not from
// a renderer.
for (size_t i = 0; i < prefetched_resource_files_.size(); ++i) {
- params.prefetched_resource_files.push_back(
+ process_->Send(new NaClProcessMsg_AddPrefetchedResource(
NaClResourcePrefetchResult(
prefetched_resource_files_[i].file,
// For the same reason as the comment below, always use an empty
// base::FilePath for non-SFI mode.
(uses_nonsfi_mode_ ? base::FilePath() :
prefetched_resource_files_[i].file_path_metadata),
- prefetched_resource_files_[i].file_key));
+ prefetched_resource_files_[i].file_key)));
}
prefetched_resource_files_.clear();
« no previous file with comments | « components/nacl/browser/nacl_host_message_filter.cc ('k') | components/nacl/common/nacl_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698