Index: content/shell/common/shell_switches.cc |
diff --git a/content/shell/common/shell_switches.cc b/content/shell/common/shell_switches.cc |
index e267cc584ded1f4ea5178ea0c932b43fe885650a..27b6bf1d983ead4d6d03b9ae987f430c172cba53 100644 |
--- a/content/shell/common/shell_switches.cc |
+++ b/content/shell/common/shell_switches.cc |
@@ -21,6 +21,10 @@ const char kContentShellDataPath[] = "data-path"; |
// The directory breakpad should store minidumps in. |
const char kCrashDumpsDir[] = "crash-dumps-dir"; |
+// When specified to "enable-leak-detection" command-line option, |
+// causes the leak detector to cause immediate crash when found leak. |
+const char kCrashOnFailure[] = "crash-on-failure"; |
+ |
// Request pages to be dumped as text once they finished loading. |
const char kDumpRenderTree[] = "dump-render-tree"; |