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

Unified Diff: third_party/tcmalloc/chromium/src/base/commandlineflags.h

Issue 986503002: components/metrics: Add runtime memory leak detector (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove dummy function; Exclude sources if leak_detector!=1; Add headers to sources! Created 5 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: third_party/tcmalloc/chromium/src/base/commandlineflags.h
diff --git a/third_party/tcmalloc/chromium/src/base/commandlineflags.h b/third_party/tcmalloc/chromium/src/base/commandlineflags.h
index 614be3a1a6bca90ebd621793f0c8c4033a5f7727..e67511cd5e97e4f07a32d73415face42dcf1b8df 100644
--- a/third_party/tcmalloc/chromium/src/base/commandlineflags.h
+++ b/third_party/tcmalloc/chromium/src/base/commandlineflags.h
@@ -118,7 +118,7 @@
// They are functions in Android because __system_property_get() doesn't
// return a string.
-#if defined(ENABLE_PROFILING)
+#if defined(ENABLE_PROFILING) || defined(ENABLE_LEAK_DETECTOR)
Nico 2015/07/16 19:49:09 This too means you can never ship this to users –
Simon Que 2015/07/16 21:15:08 Then the problem may extend beyond this file. I am
Nico 2015/07/16 21:25:17 Yes.
#if defined(__ANDROID__) || defined(ANDROID)

Powered by Google App Engine
This is Rietveld 408576698