| Index: content/renderer/renderer_main.cc
|
| diff --git a/content/renderer/renderer_main.cc b/content/renderer/renderer_main.cc
|
| index e82b6d51f79458a37a9ebe199874313d7a12687b..13f922051a2d22e75d8a0672ed217b3c9915bcfc 100644
|
| --- a/content/renderer/renderer_main.cc
|
| +++ b/content/renderer/renderer_main.cc
|
| @@ -173,7 +173,7 @@ int RendererMain(const MainFunctionParams& parameters) {
|
| run_loop = platform.EnableSandbox();
|
| } else {
|
| LOG(ERROR) << "Running without renderer sandbox";
|
| -#ifndef NDEBUG
|
| +#if !defined(NDEBUG) || (defined(CFI_ENFORCEMENT) && !defined(OFFICIAL_BUILD))
|
| // For convenience, we print the stack traces for crashes. When sandbox
|
| // is enabled, the in-process stack dumping is enabled as part of the
|
| // EnableSandbox() call.
|
|
|