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

Unified Diff: ash/display/display_configurator_animation.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 | « ash/display/display_configurator_animation.h ('k') | ash/display/resolution_notification_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/display/display_configurator_animation.cc
diff --git a/ash/display/display_configurator_animation.cc b/ash/display/display_configurator_animation.cc
index 0a4d60e022e9f39164f0beb077a21ee5047a9e02..dbbe00b470877bb1c04bb0292e032e6690fddb2b 100644
--- a/ash/display/display_configurator_animation.cc
+++ b/ash/display/display_configurator_animation.cc
@@ -139,7 +139,7 @@ void DisplayConfiguratorAnimation::StartFadeOutAnimation(
// In case that OnDisplayModeChanged() isn't called or its animator is
// canceled due to some unknown errors, we set a timer to clear these
// hiding layers.
- timer_.reset(new base::OneShotTimer<DisplayConfiguratorAnimation>());
+ timer_.reset(new base::OneShotTimer());
timer_->Start(FROM_HERE,
base::TimeDelta::FromSeconds(kFadingTimeoutDurationInSeconds),
this,
« no previous file with comments | « ash/display/display_configurator_animation.h ('k') | ash/display/resolution_notification_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698