diff options
author | altimofeev@chromium.org <altimofeev@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-29 12:37:14 +0000 |
---|---|---|
committer | altimofeev@chromium.org <altimofeev@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-29 12:37:14 +0000 |
commit | 63d4690499dedbd0afe7a9ecdb794aa99f7a900d (patch) | |
tree | 25518736fca7c4bb697d6f6f0a8a611d61602c21 /chrome/browser | |
parent | 7edbfe40420637bf5cde9e6b20a96dcd28d0dd94 (diff) | |
download | chromium_src-63d4690499dedbd0afe7a9ecdb794aa99f7a900d.zip chromium_src-63d4690499dedbd0afe7a9ecdb794aa99f7a900d.tar.gz chromium_src-63d4690499dedbd0afe7a9ecdb794aa99f7a900d.tar.bz2 |
Sizes bookmark bubble after it was shown.
It fixes the problem with wrong native textfield size is used by the
bookmark bubble.
BUG=chromium-os:9853
TEST=manual
Review URL: http://codereview.chromium.org/5981008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70262 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser')
-rw-r--r-- | chrome/browser/ui/views/bookmark_bubble_view.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/browser/ui/views/bookmark_bubble_view.cc b/chrome/browser/ui/views/bookmark_bubble_view.cc index 0fca648..75dabc0 100644 --- a/chrome/browser/ui/views/bookmark_bubble_view.cc +++ b/chrome/browser/ui/views/bookmark_bubble_view.cc @@ -92,6 +92,7 @@ void BookmarkBubbleView::Show(views::Window* parent, parent->GetClientView()->GetWidget(), bounds, BubbleBorder::TOP_RIGHT, bubble_, bubble_); bubble_->set_info_bubble(info_bubble); + info_bubble->SizeToContents(); GURL url_ptr(url); NotificationService::current()->Notify( NotificationType::BOOKMARK_BUBBLE_SHOWN, |