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

Unified Diff: base/leak_tracker.h

Issue 255017: Disable the leak tracking of URLRequests.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 3 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
« no previous file with comments | « no previous file | net/url_request/url_request.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/leak_tracker.h
===================================================================
--- base/leak_tracker.h (revision 27566)
+++ base/leak_tracker.h (working copy)
@@ -5,16 +5,8 @@
#ifndef BASE_LEAK_TRACKER_H_
#define BASE_LEAK_TRACKER_H_
-// Temporarily enable LeakTracker in all builds (both
-// release and debug). This will have an impact on performance, but
-// is intended to help track down a leak which reproduces on dev
-// channel.
-//
-// TODO(eroman): Restore the old code which only enabled LeakTracker
-// for debug builds.
-//
-// http://crbug.com/21199, http://crbug.com/18372
-#ifndef ENABLE_LEAK_TRACKER
+// Only enable leak tracking in debug builds.
+#ifndef NDEBUG
#define ENABLE_LEAK_TRACKER
#endif
« no previous file with comments | « no previous file | net/url_request/url_request.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698