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

Unified Diff: content/ppapi_plugin/broker_process_dispatcher.cc

Issue 9233018: 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: Rebase onto master. 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
Index: content/ppapi_plugin/broker_process_dispatcher.cc
diff --git a/content/ppapi_plugin/broker_process_dispatcher.cc b/content/ppapi_plugin/broker_process_dispatcher.cc
index 6fce803b636ff897ad308540d027b54622b50a02..bd3048eb6f8d4751aaa8301a243c6c0948f5d507 100644
--- a/content/ppapi_plugin/broker_process_dispatcher.cc
+++ b/content/ppapi_plugin/broker_process_dispatcher.cc
@@ -11,7 +11,7 @@
namespace {
// How long we wait before releasing the broker process.
-const int kBrokerReleaseTimeMs = 30 * 1000; // 30 seconds.
+const int kBrokerReleaseTimeSeconds = 30;
} // namespace
@@ -34,5 +34,5 @@ BrokerProcessDispatcher::~BrokerProcessDispatcher() {
FROM_HERE,
base::Bind(&ChildProcess::ReleaseProcess,
base::Unretained(ChildProcess::current())),
- kBrokerReleaseTimeMs);
+ base::TimeDelta::FromSeconds(kBrokerReleaseTimeSeconds));
}
« no previous file with comments | « content/browser/renderer_host/resource_dispatcher_host_uitest.cc ('k') | content/ppapi_plugin/plugin_process_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698