diff options
author | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-14 16:44:30 +0000 |
---|---|---|
committer | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-14 16:44:30 +0000 |
commit | c87f49e41dbf531ec55887d611e0175d4ddcd8e8 (patch) | |
tree | c999356261b575310ea01bc87308df8a0ffb3118 /webkit/plugins | |
parent | 7c0d2368843f96f5630ee5c3a8896673eaa0201c (diff) | |
download | chromium_src-c87f49e41dbf531ec55887d611e0175d4ddcd8e8.zip chromium_src-c87f49e41dbf531ec55887d611e0175d4ddcd8e8.tar.gz chromium_src-c87f49e41dbf531ec55887d611e0175d4ddcd8e8.tar.bz2 |
Mac: Fix constrained sheets
The problem was that beginSheet: was called before setActiveView:, so when setActiveView: was called, activeView_ was already the view belonging to the new tab, hence the old sheet wouldn't get hidden.
Patch http://codereview.appspot.com/4418041 adds more asserts to GTM that make the implicit assumption about when beginSheet: can be called explicit through asserts.
BUG=78889
TEST=
* Open 4 tabs that open sheets
* Close chrome, reopen chrome (with "remember tabs")
* Switch tabs
* Only one sheet should be visible at a time
Review URL: http://codereview.chromium.org/6852013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81603 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/plugins')
0 files changed, 0 insertions, 0 deletions