Index: content/ppapi_plugin/plugin_process_dispatcher.cc |
diff --git a/content/ppapi_plugin/plugin_process_dispatcher.cc b/content/ppapi_plugin/plugin_process_dispatcher.cc |
index 1ac23d14795e783679d3ffc559d74fe5d0252411..e1460cc5b19ab4d945b0b2d0789d9e1a524b1fdc 100644 |
--- a/content/ppapi_plugin/plugin_process_dispatcher.cc |
+++ b/content/ppapi_plugin/plugin_process_dispatcher.cc |
@@ -11,7 +11,7 @@ |
namespace { |
// How long we wait before releasing the plugin process. |
-const int kPluginReleaseTimeMs = 30 * 1000; // 30 seconds. |
+const int kPluginReleaseTimeSeconds = 30; |
} // namespace |
@@ -32,5 +32,5 @@ PluginProcessDispatcher::~PluginProcessDispatcher() { |
FROM_HERE, |
base::Bind(&ChildProcess::ReleaseProcess, |
base::Unretained(ChildProcess::current())), |
- kPluginReleaseTimeMs); |
+ base::TimeDelta::FromSeconds(kPluginReleaseTimeSeconds)); |
} |