diff options
author | stevet@chromium.org <stevet@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-20 16:30:11 +0000 |
---|---|---|
committer | stevet@chromium.org <stevet@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-20 16:30:11 +0000 |
commit | ed6e01091824870c53005e4c6a3d4c74aac5ef59 (patch) | |
tree | 9e3bc544821a0df96c07cfa527ecab85d70eaae2 /ipc/ipc_sync_channel_unittest.cc | |
parent | fffa7886c8120e6421b0b66e583e3c345fea8bfa (diff) | |
download | chromium_src-ed6e01091824870c53005e4c6a3d4c74aac5ef59.zip chromium_src-ed6e01091824870c53005e4c6a3d4c74aac5ef59.tar.gz chromium_src-ed6e01091824870c53005e4c6a3d4c74aac5ef59.tar.bz2 |
Simplified the widget passing into Bubble::Show for the BookmarkBubbleView.
This fixes a crash that occurs when cnav attempts to show the bookmark bubble. This was due to a NULL pointer in parent->client_view (cnav's location bar's widget does not have a non_client_view).
Turns out parent == parent->client_view()->GetWidget() at this point in the views refactoring.
TEST=Ensure that clicking the star in the compact location bar in compact nav mode does not crash. Ctrl+D should also show the bubble and not crash.
BUG=85750
Review URL: http://codereview.chromium.org/7452021
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93206 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ipc/ipc_sync_channel_unittest.cc')
0 files changed, 0 insertions, 0 deletions