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

Unified Diff: ui/views/widget/aero_tooltip_manager.cc

Issue 10026013: Update use of TimeDelta in chrome/browser/*, ui/views/*, and other places. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebase onto master. Created 8 years, 7 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/views/mouse_watcher.cc ('k') | ui/views/widget/tooltip_manager_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/widget/aero_tooltip_manager.cc
diff --git a/ui/views/widget/aero_tooltip_manager.cc b/ui/views/widget/aero_tooltip_manager.cc
index daac357f67a5eac9a10bee1dceda7bfbb653bb60..d57c948d643cd934c5a5fd885b0a37a20af343be 100644
--- a/ui/views/widget/aero_tooltip_manager.cc
+++ b/ui/views/widget/aero_tooltip_manager.cc
@@ -95,8 +95,9 @@ AeroTooltipManager::InitialTimer::InitialTimer(AeroTooltipManager* manager)
}
void AeroTooltipManager::InitialTimer::Start(int time) {
- MessageLoop::current()->PostDelayedTask(
- FROM_HERE, base::Bind(&InitialTimer::Execute, this), time);
+ MessageLoop::current()->PostDelayedTask(FROM_HERE,
+ base::Bind(&InitialTimer::Execute, this),
+ base::TimeDelta::FromMilliseconds(time));
}
void AeroTooltipManager::InitialTimer::Disown() {
« no previous file with comments | « ui/views/mouse_watcher.cc ('k') | ui/views/widget/tooltip_manager_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698