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

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

Issue 277463003: Use a proper profile in NaClBrowserDelegateImpl::MapUrlToLocalFilePath (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: git cl format Created 6 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_browser_delegate.h ('k') | components/nacl/browser/nacl_host_message_filter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/nacl/browser/nacl_file_host.cc
diff --git a/components/nacl/browser/nacl_file_host.cc b/components/nacl/browser/nacl_file_host.cc
index 2744b8e948bc6ea86d2bfc1d2e6e60c14e02fe0e..0a0f10c34244338cecaf407fdd98b83c316d3fee 100644
--- a/components/nacl/browser/nacl_file_host.cc
+++ b/components/nacl/browser/nacl_file_host.cc
@@ -117,7 +117,10 @@ void DoOpenNaClExecutableOnThreadPool(
base::FilePath file_path;
if (!nacl::NaClBrowser::GetDelegate()->MapUrlToLocalFilePath(
- file_url, true /* use_blocking_api */, &file_path)) {
+ file_url,
+ true /* use_blocking_api */,
+ nacl_host_message_filter->profile_directory(),
+ &file_path)) {
NotifyRendererOfError(nacl_host_message_filter.get(), reply_msg);
return;
}
« no previous file with comments | « components/nacl/browser/nacl_browser_delegate.h ('k') | components/nacl/browser/nacl_host_message_filter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698