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

Unified Diff: ui/gfx/screen_mac.mm

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/gfx/animation/animation_container.h ('k') | ui/message_center/message_center_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/screen_mac.mm
diff --git a/ui/gfx/screen_mac.mm b/ui/gfx/screen_mac.mm
index 3039124e3384ca29f2e1b3ab7f30447304190616..abd8549dd86b1eaac369a0b687fac50cdc00546a 100644
--- a/ui/gfx/screen_mac.mm
+++ b/ui/gfx/screen_mac.mm
@@ -192,7 +192,7 @@ class ScreenMac : public gfx::Screen {
return;
}
- configure_timer_.reset(new base::OneShotTimer<ScreenMac>());
+ configure_timer_.reset(new base::OneShotTimer());
configure_timer_->Start(
FROM_HERE,
base::TimeDelta::FromMilliseconds(kConfigureDelayMs),
@@ -262,7 +262,7 @@ class ScreenMac : public gfx::Screen {
// The timer to delay configuring outputs. See also the comments in
// HandleDisplayReconfiguration().
- scoped_ptr<base::OneShotTimer<ScreenMac> > configure_timer_;
+ scoped_ptr<base::OneShotTimer> configure_timer_;
gfx::DisplayChangeNotifier change_notifier_;
« no previous file with comments | « ui/gfx/animation/animation_container.h ('k') | ui/message_center/message_center_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698