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 97669a8c07edf85c40706187bcea53874a4372da..d8763ff6e5cc1bac79035c9cc467bcce3158359d 100644 |
--- a/ppapi/native_client/src/trusted/plugin/plugin.cc |
+++ b/ppapi/native_client/src/trusted/plugin/plugin.cc |
@@ -1134,10 +1134,12 @@ bool Plugin::SetManifestObject(const nacl::string& manifest_json, |
// Determine whether lookups should use portable (i.e., pnacl versions) |
// rather than platform-specific files. |
bool is_pnacl = (mime_type() == kPnaclMIMEType); |
+ bool pnacl_debug = GetNaClInterface()->NaClDebugStubEnabled(); |
nacl::scoped_ptr<JsonManifest> json_manifest( |
new JsonManifest(url_util_, |
manifest_base_url(), |
- (is_pnacl ? kPortableISA : GetSandboxISA()))); |
+ (is_pnacl ? kPortableISA : GetSandboxISA()), |
+ pnacl_debug)); |
if (!json_manifest->Init(manifest_json, error_info)) { |
return false; |
} |