| Index: chrome/browser/process_singleton_win.cc
|
| ===================================================================
|
| --- chrome/browser/process_singleton_win.cc (revision 50758)
|
| +++ chrome/browser/process_singleton_win.cc (working copy)
|
| @@ -14,6 +14,7 @@
|
| #include "base/win_util.h"
|
| #include "chrome/browser/browser_init.h"
|
| #include "chrome/browser/browser_process.h"
|
| +#include "chrome/browser/platform_util.h"
|
| #include "chrome/browser/profile.h"
|
| #include "chrome/browser/profile_manager.h"
|
| #include "chrome/common/chrome_constants.h"
|
| @@ -143,8 +144,7 @@
|
| if (visible_window) {
|
| std::wstring text = l10n_util::GetString(IDS_BROWSER_HUNGBROWSER_MESSAGE);
|
| std::wstring caption = l10n_util::GetString(IDS_PRODUCT_NAME);
|
| - if (IDYES != win_util::MessageBox(NULL, text, caption,
|
| - MB_YESNO | MB_ICONSTOP | MB_TOPMOST)) {
|
| + if (!platform_util::SimpleYesNoBox(NULL, caption, text)) {
|
| // The user denied. Quit silently.
|
| return PROCESS_NOTIFIED;
|
| }
|
|
|