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

Unified Diff: ui/message_center/views/message_popup_collection.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/views/message_popup_collection.h ('k') | ui/ozone/demo/software_renderer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/message_center/views/message_popup_collection.cc
diff --git a/ui/message_center/views/message_popup_collection.cc b/ui/message_center/views/message_popup_collection.cc
index a4130606d378b147269089320b888b55f143fcbd..fbf869d5932aac50f3dd0d2a18fe6c9b7110cc17 100644
--- a/ui/message_center/views/message_popup_collection.cc
+++ b/ui/message_center/views/message_popup_collection.cc
@@ -62,7 +62,7 @@ MessagePopupCollection::MessagePopupCollection(
context_menu_controller_(new MessageViewContextMenuController(this)),
weak_factory_(this) {
DCHECK(message_center_);
- defer_timer_.reset(new base::OneShotTimer<MessagePopupCollection>);
+ defer_timer_.reset(new base::OneShotTimer);
message_center_->AddObserver(this);
alignment_delegate_->set_collection(this);
}
« no previous file with comments | « ui/message_center/views/message_popup_collection.h ('k') | ui/ozone/demo/software_renderer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698