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

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: rebase 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
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..b6f21cc22a2d32920166be111554cc833b99c12a 100644
--- a/components/nacl/browser/nacl_file_host.cc
+++ b/components/nacl/browser/nacl_file_host.cc
@@ -117,7 +117,8 @@ 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;
}

Powered by Google App Engine
This is Rietveld 408576698