| Index: chrome/browser/process_singleton_win.cc
|
| diff --git a/chrome/browser/process_singleton_win.cc b/chrome/browser/process_singleton_win.cc
|
| index a02becc28e16ee50bdff20fcbec700ef1b4cb8f0..74e1d51ccdbfaec31b377d0299f39ff7c1a36192 100644
|
| --- a/chrome/browser/process_singleton_win.cc
|
| +++ b/chrome/browser/process_singleton_win.cc
|
| @@ -78,8 +78,6 @@ bool ProcessSingleton::NotifyOtherProcess() {
|
|
|
| AllowSetForegroundWindow(process_id);
|
|
|
| - // Gives 20 seconds timeout for the current browser process to respond.
|
| - const int kTimeout = 20000;
|
| COPYDATASTRUCT cds;
|
| cds.dwData = 0;
|
| cds.cbData = static_cast<DWORD>((to_send.length() + 1) * sizeof(wchar_t));
|
| @@ -90,7 +88,7 @@ bool ProcessSingleton::NotifyOtherProcess() {
|
| NULL,
|
| reinterpret_cast<LPARAM>(&cds),
|
| SMTO_ABORTIFHUNG,
|
| - kTimeout,
|
| + kTimeoutInSeconds * 1000,
|
| &result)) {
|
| // It is possible that the process owning this window may have died by now.
|
| if (!result) {
|
|
|