| Index: chrome/browser/tab_contents/web_contents_view_win.cc
|
| ===================================================================
|
| --- chrome/browser/tab_contents/web_contents_view_win.cc (revision 9590)
|
| +++ chrome/browser/tab_contents/web_contents_view_win.cc (working copy)
|
| @@ -33,7 +33,8 @@
|
|
|
| // Windows callback for OnDestroy to detach the plugin windows.
|
| BOOL CALLBACK DetachPluginWindowsCallback(HWND window, LPARAM param) {
|
| - if (WebPluginDelegateImpl::IsPluginDelegateWindow(window)) {
|
| + if (WebPluginDelegateImpl::IsPluginDelegateWindow(window) &&
|
| + !IsHungAppWindow(window)) {
|
| ::ShowWindow(window, SW_HIDE);
|
| SetParent(window, NULL);
|
| }
|
|
|