summaryrefslogtreecommitdiffstats
path: root/content/ppapi_plugin/broker_process_dispatcher.cc
diff options
context:
space:
mode:
Diffstat (limited to 'content/ppapi_plugin/broker_process_dispatcher.cc')
-rw-r--r--content/ppapi_plugin/broker_process_dispatcher.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/content/ppapi_plugin/broker_process_dispatcher.cc b/content/ppapi_plugin/broker_process_dispatcher.cc
index 6fce803..7cdc0e34 100644
--- a/content/ppapi_plugin/broker_process_dispatcher.cc
+++ b/content/ppapi_plugin/broker_process_dispatcher.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -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));
}