Index: chrome/browser/hang_monitor/hung_plugin_action.cc |
diff --git a/chrome/browser/hang_monitor/hung_plugin_action.cc b/chrome/browser/hang_monitor/hung_plugin_action.cc |
index 4ce6f14e38498365229177b12a131f894a53dbee..2aa2b4c9aaa1088408cf388772d2bce2f59e91fe 100644 |
--- a/chrome/browser/hang_monitor/hung_plugin_action.cc |
+++ b/chrome/browser/hang_monitor/hung_plugin_action.cc |
@@ -8,7 +8,7 @@ |
#include "base/metrics/histogram.h" |
#include "base/version.h" |
-#include "chrome/browser/ui/views/simple_message_box_win.h" |
+#include "chrome/browser/ui/simple_message_box.h" |
#include "chrome/common/logging_chrome.h" |
#include "content/public/browser/plugin_service.h" |
#include "content/public/common/webplugininfo.h" |
@@ -113,10 +113,7 @@ bool HungPluginAction::OnHungWindowDetected(HWND hung_window, |
HungWindowResponseCallback, |
reinterpret_cast<ULONG_PTR>(this)); |
current_hung_plugin_window_ = hung_window; |
- // We use chrome::NativeShowMessageBox instead of chrome::ShowMessageBox |
- // because the latter depends on UI-thread classes on Win Aura. See |
- // http://crbug.com/330424. |
- if (chrome::NativeShowMessageBox( |
+ if (chrome::ShowMessageBox( |
NULL, title, message, chrome::MESSAGE_BOX_TYPE_QUESTION) == |
chrome::MESSAGE_BOX_RESULT_YES) { |
*action = HungWindowNotification::HUNG_WINDOW_TERMINATE_PROCESS; |