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

Unified Diff: base/trace_event/trace_event_memory.h

Issue 1355063004: Template methods on Timer classes instead of the classes themselves. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: timer: fixwindowslink+rebase Created 5 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
Index: base/trace_event/trace_event_memory.h
diff --git a/base/trace_event/trace_event_memory.h b/base/trace_event/trace_event_memory.h
index 2e8fb5d4810f2c19b516de08084b041c789df799..7088080de9b362ffd80eba8b919c657d79c0e82c 100644
--- a/base/trace_event/trace_event_memory.h
+++ b/base/trace_event/trace_event_memory.h
@@ -73,7 +73,7 @@ class BASE_EXPORT TraceMemoryController
GetHeapProfileFunction get_heap_profile_function_;
// Timer to schedule memory profile dumps.
- RepeatingTimer<TraceMemoryController> dump_timer_;
+ RepeatingTimer dump_timer_;
WeakPtrFactory<TraceMemoryController> weak_factory_;

Powered by Google App Engine
This is Rietveld 408576698