summaryrefslogtreecommitdiffstats
path: root/chrome/browser/hang_monitor
diff options
context:
space:
mode:
authornsylvain@chromium.org <nsylvain@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-05 18:35:49 +0000
committernsylvain@chromium.org <nsylvain@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-05 18:35:49 +0000
commit0f80457845ae773d00403b9b6af81f644e83a226 (patch)
tree67be7f769d166bbeefcab83971b1f49f89c50cfb /chrome/browser/hang_monitor
parent89eb3f4e9e2cd108e163f4d6a0e27476988c3a48 (diff)
downloadchromium_src-0f80457845ae773d00403b9b6af81f644e83a226.zip
chromium_src-0f80457845ae773d00403b9b6af81f644e83a226.tar.gz
chromium_src-0f80457845ae773d00403b9b6af81f644e83a226.tar.bz2
When a windowless plugin is hanging, the browser process
is also hanging because of the "dummy activation window". Unfortunately we used to skip the hung plugin notification dialog for this window. I'm changing this behavior to display it even for this window. We don't know what plugin it is, so we just display "an unknown plugin", but this is better than nothing. This is a potential fix for 3383. I do not expect to completely fix 3383 with it, but it should help minimize the problem. bug:3383 Review URL: http://codereview.chromium.org/9386 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4792 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/hang_monitor')
-rw-r--r--chrome/browser/hang_monitor/hung_plugin_action.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/chrome/browser/hang_monitor/hung_plugin_action.cc b/chrome/browser/hang_monitor/hung_plugin_action.cc
index ad04979..bcf4ff8 100644
--- a/chrome/browser/hang_monitor/hung_plugin_action.cc
+++ b/chrome/browser/hang_monitor/hung_plugin_action.cc
@@ -32,10 +32,6 @@ bool HungPluginAction::OnHungWindowDetected(HWND hung_window,
bool continue_hang_detection = true;
- if (WebPluginDelegateImpl::IsDummyActivationWindow(hung_window)) {
- return continue_hang_detection;
- }
-
DWORD hung_window_process_id = 0;
DWORD top_level_window_process_id = 0;
GetWindowThreadProcessId(hung_window, &hung_window_process_id);