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

Unified Diff: chrome/browser/ui/views/download/download_item_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_item_view.cc
diff --git a/chrome/browser/ui/views/download/download_item_view.cc b/chrome/browser/ui/views/download/download_item_view.cc
index e17fd28f09e09315f35ffc1ea172c87c86f66a3d..aa16a4b51ab1cd28ca61f5049423e54211ee78ad 100644
--- a/chrome/browser/ui/views/download/download_item_view.cc
+++ b/chrome/browser/ui/views/download/download_item_view.cc
@@ -326,7 +326,7 @@ void DownloadItemView::OnDownloadOpened(DownloadItem* download) {
FROM_HERE,
base::Bind(&DownloadItemView::Reenable,
weak_ptr_factory_.GetWeakPtr()),
- kDisabledOnOpenDuration);
+ base::TimeDelta::FromMilliseconds(kDisabledOnOpenDuration));
// Notify our parent.
parent_->OpenedDownload(this);
« no previous file with comments | « chrome/browser/ui/views/browser_actions_container.cc ('k') | chrome/browser/ui/views/download/download_shelf_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698