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

Unified Diff: chrome/browser/memory/oom_priority_manager.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: fixcaller 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: chrome/browser/memory/oom_priority_manager.h
diff --git a/chrome/browser/memory/oom_priority_manager.h b/chrome/browser/memory/oom_priority_manager.h
index 1b50a33ff25e6ec8287d7f72e733f7a8aa192143..5a13d2b3771b97d26c759bac6663e071da5dd0df 100644
--- a/chrome/browser/memory/oom_priority_manager.h
+++ b/chrome/browser/memory/oom_priority_manager.h
@@ -129,11 +129,11 @@ class OomPriorityManager {
static bool CompareTabStats(TabStats first, TabStats second);
// Timer to periodically update the stats of the renderers.
- base::RepeatingTimer<OomPriorityManager> update_timer_;
+ base::RepeatingTimer update_timer_;
// Timer to periodically report whether a tab has been discarded since the
// last time the timer has fired.
- base::RepeatingTimer<OomPriorityManager> recent_tab_discard_timer_;
+ base::RepeatingTimer recent_tab_discard_timer_;
// A listener to global memory pressure events.
scoped_ptr<base::MemoryPressureListener> memory_pressure_listener_;

Powered by Google App Engine
This is Rietveld 408576698