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

Unified Diff: content/browser/browser_main_loop.cc

Issue 986503002: components/metrics: Add runtime memory leak detector (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix error in leak analyzer logic Created 5 years, 6 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/browser/browser_main_loop.cc
diff --git a/content/browser/browser_main_loop.cc b/content/browser/browser_main_loop.cc
index 86cc1a6243abfe6790abc9f611ead394876f2eb1..5432ae1b4e0722711211f579d1571393a2cf2380 100644
--- a/content/browser/browser_main_loop.cc
+++ b/content/browser/browser_main_loop.cc
@@ -587,6 +587,10 @@ void BrowserMainLoop::MainMessageLoopStart() {
::HeapProfilerWithPseudoStackStart, ::HeapProfilerStop,
::GetHeapProfile));
#endif
+
+#if defined (ENABLE_LEAK_DETECTOR)
+ LeakDetectorDummy();
+#endif
}
int BrowserMainLoop::PreCreateThreads() {

Powered by Google App Engine
This is Rietveld 408576698