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

Unified Diff: chrome/browser/omnibox_search_hint.cc

Issue 9185026: Convert use of int ms to TimeDelta in files owned by brettw. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Explicitly include base/time.h in header file. Created 8 years, 11 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/media_uitest.cc ('k') | chrome/browser/process_singleton_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/omnibox_search_hint.cc
diff --git a/chrome/browser/omnibox_search_hint.cc b/chrome/browser/omnibox_search_hint.cc
index cfaf6efb4082d2e4d233bf2ad1af2b0dddc9d34f..74cbd7fdde63d335151d154be6b4e88ba203db02 100644
--- a/chrome/browser/omnibox_search_hint.cc
+++ b/chrome/browser/omnibox_search_hint.cc
@@ -100,7 +100,7 @@ HintInfoBar::HintInfoBar(OmniboxSearchHint* omnibox_hint)
MessageLoop::current()->PostDelayedTask(
FROM_HERE,
base::Bind(&HintInfoBar::AllowExpiry, weak_factory_.GetWeakPtr()),
- 8000); // 8 seconds.
+ base::TimeDelta::FromSeconds(8));
}
HintInfoBar::~HintInfoBar() {
« no previous file with comments | « chrome/browser/media_uitest.cc ('k') | chrome/browser/process_singleton_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698