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/wm/workspace/multi_window_resize_controller.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: Remove debug comment. 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 | « no previous file | base/process_util_linux.cc » ('j') | base/process_util_linux.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/workspace/multi_window_resize_controller.cc
diff --git a/ash/wm/workspace/multi_window_resize_controller.cc b/ash/wm/workspace/multi_window_resize_controller.cc
index cde8b66dd1545e5bd860263b6d0e80e92f06025a..2a6fcbd3b09dc666129b328152f58eb19dbbcc6c 100644
--- a/ash/wm/workspace/multi_window_resize_controller.cc
+++ b/ash/wm/workspace/multi_window_resize_controller.cc
@@ -373,7 +373,8 @@ void MultiWindowResizeController::ShowNow() {
mouse_watcher_.reset(new views::MouseWatcher(
new ResizeMouseWatcherHost(this),
this));
- mouse_watcher_->set_notify_on_exit_time_ms(kHideDelayMS);
+ mouse_watcher_->set_notify_on_exit_time(
+ base::TimeDelta::FromMilliseconds(kHideDelayMS));
mouse_watcher_->Start();
}
« no previous file with comments | « no previous file | base/process_util_linux.cc » ('j') | base/process_util_linux.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698