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

Unified Diff: content/app/content_main_runner.cc

Issue 402723002: Experimentally disable termination on heap corrruption in order to measure the contribution of this… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update comment date. Created 6 years, 5 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: content/app/content_main_runner.cc
diff --git a/content/app/content_main_runner.cc b/content/app/content_main_runner.cc
index f8f9a42e61baeff7088de40bdb76796fbd78aafc..81611c5e2c57f1fd07e240750e7a502fc1d6f9f2 100644
--- a/content/app/content_main_runner.cc
+++ b/content/app/content_main_runner.cc
@@ -554,7 +554,8 @@ class ContentMainRunnerImpl : public ContentMainRunner {
is_initialized_ = true;
delegate_ = params.delegate;
- base::EnableTerminationOnHeapCorruption();
+ if (params.enable_termination_on_heap_corruption)
+ base::EnableTerminationOnHeapCorruption();
grt (UTC plus 2) 2014/07/30 21:05:11 if it's okay for this to happen on line 574 instea
base::EnableTerminationOnOutOfMemory();
// The exit manager is in charge of calling the dtors of singleton objects.

Powered by Google App Engine
This is Rietveld 408576698