Index: content/plugin/plugin_channel.cc |
diff --git a/content/plugin/plugin_channel.cc b/content/plugin/plugin_channel.cc |
index a410af757e442c83ebd13bf0437a46a771194667..ea4b812b77c722752e685c0ac3c0779116d8d77b 100644 |
--- a/content/plugin/plugin_channel.cc |
+++ b/content/plugin/plugin_channel.cc |
@@ -31,7 +31,7 @@ void PluginReleaseCallback() { |
} |
// How long we wait before releasing the plugin process. |
-const int kPluginReleaseTimeMs = 5 * 60 * 1000; // 5 minutes |
+const int kPluginReleaseTimeMinutes = 5; |
} // namespace |
@@ -177,7 +177,9 @@ PluginChannel::~PluginChannel() { |
base::CloseProcessHandle(renderer_handle_); |
MessageLoop::current()->PostDelayedTask( |
- FROM_HERE, base::Bind(&PluginReleaseCallback), kPluginReleaseTimeMs); |
+ FROM_HERE, |
+ base::Bind(&PluginReleaseCallback), |
+ base::TimeDelta::FromMinutes(kPluginReleaseTimeMinutes)); |
} |
bool PluginChannel::Send(IPC::Message* msg) { |