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

Unified Diff: ui/aura/root_window.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 | « chrome/browser/ui/views/status_bubble_views.cc ('k') | ui/views/controls/button/button_dropdown.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/root_window.cc
diff --git a/ui/aura/root_window.cc b/ui/aura/root_window.cc
index e6797dcd024fa26ceb2e6e6fe40a9336e38d2018..8201c5d57e37bcf620118325ea6b1ef8795cff2d 100644
--- a/ui/aura/root_window.cc
+++ b/ui/aura/root_window.cc
@@ -90,7 +90,7 @@ CompositorLock::CompositorLock(RootWindow* root_window)
MessageLoop::current()->PostDelayedTask(
FROM_HERE,
base::Bind(&CompositorLock::CancelLock, AsWeakPtr()),
- kCompositorLockTimeoutMs);
+ base::TimeDelta::FromMilliseconds(kCompositorLockTimeoutMs));
}
CompositorLock::~CompositorLock() {
« no previous file with comments | « chrome/browser/ui/views/status_bubble_views.cc ('k') | ui/views/controls/button/button_dropdown.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698