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

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

Issue 212103002: Check NaCl debug mask (not just flag) before choosing PNaCl debug URL. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase 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/plugin.cc
diff --git a/ppapi/native_client/src/trusted/plugin/plugin.cc b/ppapi/native_client/src/trusted/plugin/plugin.cc
index 060693443ecaf6d5aad7b6885fc1343cd23bb24d..8d74d08690f115335288ba3f9aedfe8362799ac8 100644
--- a/ppapi/native_client/src/trusted/plugin/plugin.cc
+++ b/ppapi/native_client/src/trusted/plugin/plugin.cc
@@ -1153,7 +1153,8 @@ bool Plugin::SetManifestObject(const nacl::string& manifest_json,
bool is_pnacl = (mime_type() == kPnaclMIMEType);
bool nonsfi_mode_enabled =
PP_ToBool(nacl_interface_->IsNonSFIModeEnabled());
- bool pnacl_debug = GetNaClInterface()->NaClDebugStubEnabled();
+ bool pnacl_debug = GetNaClInterface()->NaClDebugEnabledForURL(
+ manifest_base_url().c_str());
const char* sandbox_isa = nacl_interface_->GetSandboxArch();
nacl::scoped_ptr<JsonManifest> json_manifest(
new JsonManifest(url_util_,

Powered by Google App Engine
This is Rietveld 408576698