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

Unified Diff: chrome/browser/ui/views/download/download_shelf_view.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
Index: chrome/browser/ui/views/download/download_shelf_view.cc
diff --git a/chrome/browser/ui/views/download/download_shelf_view.cc b/chrome/browser/ui/views/download/download_shelf_view.cc
index 866074055119f335cbbb34f45248f34f91867cc2..1b7bc9410d832428db8fdd4141d56193aa574119 100644
--- a/chrome/browser/ui/views/download/download_shelf_view.cc
+++ b/chrome/browser/ui/views/download/download_shelf_view.cc
@@ -96,7 +96,8 @@ DownloadShelfView::DownloadShelfView(Browser* browser, BrowserView* parent)
ALLOW_THIS_IN_INITIALIZER_LIST(
mouse_watcher_(new views::MouseWatcherViewHost(this, gfx::Insets()),
this)) {
- mouse_watcher_.set_notify_on_exit_time_ms(kNotifyOnExitTimeMS);
+ mouse_watcher_.set_notify_on_exit_time(
+ base::TimeDelta::FromMilliseconds(kNotifyOnExitTimeMS));
set_id(VIEW_ID_DOWNLOAD_SHELF);
parent->AddChildView(this);
}

Powered by Google App Engine
This is Rietveld 408576698