Chromium Code Reviews| Index: base/message_loop.cc |
| =================================================================== |
| --- base/message_loop.cc (revision 96101) |
| +++ base/message_loop.cc (working copy) |
| @@ -526,12 +526,11 @@ |
| bool MessageLoop::DeletePendingTasks() { |
| bool did_work = !work_queue_.empty(); |
| // TODO(darin): Delete all tasks once it is safe to do so. |
| - // Until it is totally safe, just do it when running Purify or |
| - // Valgrind. |
| + // Until it is totally safe, just do it when running Valgrind. |
| // |
| // See http://crbug.com/61131 |
| // |
| -#if defined(PURIFY) || defined(USE_HEAPCHECKER) |
| +#ifdef USE_HEAPCHECKER |
|
jam
2011/08/10 02:55:28
nit: i think #if defined() is the convention
|
| should_leak_tasks_ = false; |
| #else |
| if (RunningOnValgrind()) |