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

Unified Diff: ui/message_center/popup_timer.cc

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
« no previous file with comments | « ui/message_center/popup_timer.h ('k') | ui/message_center/views/message_popup_collection.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/message_center/popup_timer.cc
diff --git a/ui/message_center/popup_timer.cc b/ui/message_center/popup_timer.cc
index e04252bd1872540119c7917d2e13ca2d7cf82f14..aa45d06d43cbdfbd1aa452fa0e4bd61731a3bd2c 100644
--- a/ui/message_center/popup_timer.cc
+++ b/ui/message_center/popup_timer.cc
@@ -35,7 +35,7 @@ PopupTimer::PopupTimer(const std::string& id,
: id_(id),
timeout_(timeout),
timer_controller_(controller),
- timer_(new base::OneShotTimer<PopupTimersController>) {}
+ timer_(new base::OneShotTimer) {}
PopupTimer::~PopupTimer() {
if (!timer_)
« no previous file with comments | « ui/message_center/popup_timer.h ('k') | ui/message_center/views/message_popup_collection.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698