summaryrefslogtreecommitdiffstats
path: root/chrome/browser/process_singleton_win.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/process_singleton_win.cc')
-rw-r--r--chrome/browser/process_singleton_win.cc7
1 files changed, 4 insertions, 3 deletions
diff --git a/chrome/browser/process_singleton_win.cc b/chrome/browser/process_singleton_win.cc
index bfa7c01..12e6451 100644
--- a/chrome/browser/process_singleton_win.cc
+++ b/chrome/browser/process_singleton_win.cc
@@ -265,9 +265,10 @@ ProcessSingleton::NotifyResult ProcessSingleton::NotifyOtherProcess() {
// If there is a visible browser window, ask the user before killing it.
if (visible_window) {
- string16 text = l10n_util::GetStringUTF16(IDS_BROWSER_HUNGBROWSER_MESSAGE);
- string16 caption = l10n_util::GetStringUTF16(IDS_PRODUCT_NAME);
- if (!browser::ShowYesNoBox(NULL, caption, text)) {
+ const string16 title = l10n_util::GetStringUTF16(IDS_PRODUCT_NAME);
+ const string16 message = l10n_util::GetStringUTF16(
+ IDS_BROWSER_HUNGBROWSER_MESSAGE);
+ if (!browser::ShowQuestionMessageBox(NULL, title, message)) {
// The user denied. Quit silently.
return PROCESS_NOTIFIED;
}