Index: content/common/sandbox_win.cc |
diff --git a/content/common/sandbox_win.cc b/content/common/sandbox_win.cc |
index 7627865c3ed4f7a7daf6a7d3f71df6c252375bae..f475db35e9d36756df28938a41fdfbbeebbec153 100644 |
--- a/content/common/sandbox_win.cc |
+++ b/content/common/sandbox_win.cc |
@@ -328,8 +328,8 @@ bool AddGenericPolicy(sandbox::TargetPolicy* policy) { |
return false; |
#endif // NDEBUG |
- // Add the policy for read-only PDB file access for AddressSanitizer. |
-#if defined(ADDRESS_SANITIZER) |
+ // Add the policy for read-only PDB file access for stack traces. |
+#if !defined(OFFICIAL_BUILD) |
base::FilePath exe; |
if (!PathService::Get(base::FILE_EXE, &exe)) |
return false; |