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

Unified Diff: ppapi/native_client/src/trusted/plugin/pnacl_translate_thread.cc

Issue 193313002: Pepper: Move GetSandboxISA() to PPB_NaCl_Private. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nacl_interface threading fix Created 6 years, 9 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: ppapi/native_client/src/trusted/plugin/pnacl_translate_thread.cc
diff --git a/ppapi/native_client/src/trusted/plugin/pnacl_translate_thread.cc b/ppapi/native_client/src/trusted/plugin/pnacl_translate_thread.cc
index 01ac5c046040dd97287576fe5fb81251176cc2c5..47cb621fac27ac2302234242ee0bb72f6cc2d3df 100644
--- a/ppapi/native_client/src/trusted/plugin/pnacl_translate_thread.cc
+++ b/ppapi/native_client/src/trusted/plugin/pnacl_translate_thread.cc
@@ -119,7 +119,8 @@ NaClSubprocess* PnaclTranslateThread::StartSubprocess(
// so that NaCl GDB can filter-out the translator processes (and not debug
// the translator itself). Must have a full URL with schema, otherwise the
// string gets silently dropped by GURL.
- nacl::string full_url = resources_->GetFullUrl(url_for_nexe);
+ nacl::string full_url = resources_->GetFullUrl(
+ url_for_nexe, plugin_->nacl_interface()->GetSandboxArch());
nacl::scoped_ptr<NaClSubprocess> subprocess(
plugin_->LoadHelperNaClModule(full_url, wrapper, manifest, error_info));
if (subprocess.get() == NULL) {

Powered by Google App Engine
This is Rietveld 408576698