summaryrefslogtreecommitdiffstats
path: root/chrome/browser
diff options
context:
space:
mode:
authorhbono@chromium.org <hbono@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-24 05:47:17 +0000
committerhbono@chromium.org <hbono@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-24 05:47:17 +0000
commit7ad0dea94b930fdfaf3fb3de212c7321267156c8 (patch)
tree05046b3d8cc36ae6d0d798def595c5d5df0ba8c1 /chrome/browser
parentf9478a95998f5df3175a98f1e849be01047636c6 (diff)
downloadchromium_src-7ad0dea94b930fdfaf3fb3de212c7321267156c8.zip
chromium_src-7ad0dea94b930fdfaf3fb3de212c7321267156c8.tar.gz
chromium_src-7ad0dea94b930fdfaf3fb3de212c7321267156c8.tar.bz2
A quick fix for Issue 38587.
This issue is caused by my bonehead mistake that forgot setting the parent windows of AeroPeek windows. This change just sets the BrowserFrame object (which owns AeroPeek windows) to their parent window so we can minimize AeroPeek windows when we minimize the BrowserFrame. BUG=38597 TEST=Open two or more tabs, minimize Chrome, and verify there are not any garbage windows on Desktop. Review URL: http://codereview.chromium.org/1120011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42433 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser')
-rw-r--r--chrome/browser/aeropeek_manager.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/aeropeek_manager.cc b/chrome/browser/aeropeek_manager.cc
index 3830498..6385b4b 100644
--- a/chrome/browser/aeropeek_manager.cc
+++ b/chrome/browser/aeropeek_manager.cc
@@ -778,7 +778,7 @@ void AeroPeekWindow::Update(bool is_loading) {
// thumbnail image of this window now.
if (!hwnd()) {
gfx::Rect bounds;
- WindowImpl::Init(NULL, bounds);
+ WindowImpl::Init(frame_window_, bounds);
return;
}