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

Unified Diff: chrome/browser/plugin_prefs.cc

Issue 9572036: Convert uses of int ms to TimeDelta in chrome/browser and net. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Add more TimeDelta integration. Created 8 years, 10 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/plugin_prefs.cc
diff --git a/chrome/browser/plugin_prefs.cc b/chrome/browser/plugin_prefs.cc
index 0098f1b785fbd7c37251804ac4aaf4bef55d0aa1..4796b89df3881f82069c3c96374c27e23721d76b 100644
--- a/chrome/browser/plugin_prefs.cc
+++ b/chrome/browser/plugin_prefs.cc
@@ -437,7 +437,7 @@ void PluginPrefs::SetPrefs(PrefService* prefs) {
BrowserThread::FILE,
FROM_HERE,
base::Bind(&PluginPrefs::GetPreferencesDataOnFileThread, this),
- kPluginUpdateDelayMs);
+ base::TimeDelta::FromMilliseconds(kPluginUpdateDelayMs));
}
NotifyPluginStatusChanged();
« no previous file with comments | « chrome/browser/net/sqlite_persistent_cookie_store.cc ('k') | chrome/browser/protector/settings_change_global_error.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698