| 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
|
|
|
|
|