diff options
author | oshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-09 07:00:08 +0000 |
---|---|---|
committer | oshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-09 07:00:08 +0000 |
commit | 999045921ee2c3139d02353fa63882b34301e8fe (patch) | |
tree | deb22c51c2dc56516670a581308d7ad5c0bead50 /chrome/browser/views/notifications | |
parent | 62356ddf68e44aa92655ed2c5a8971e7dc2050eb (diff) | |
download | chromium_src-999045921ee2c3139d02353fa63882b34301e8fe.zip chromium_src-999045921ee2c3139d02353fa63882b34301e8fe.tar.gz chromium_src-999045921ee2c3139d02353fa63882b34301e8fe.tar.bz2 |
Fix issue where the size of notification on linux/views gets created bigger than max size.
BUG=none
TEST=manual: run linux/view build or chromeos build and create a web notification. The size of balloon should be same as one in Windows.
Review URL: http://codereview.chromium.org/1631007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44062 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/views/notifications')
-rw-r--r-- | chrome/browser/views/notifications/balloon_view_host.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/browser/views/notifications/balloon_view_host.cc b/chrome/browser/views/notifications/balloon_view_host.cc index aa45a83..bfb02fa 100644 --- a/chrome/browser/views/notifications/balloon_view_host.cc +++ b/chrome/browser/views/notifications/balloon_view_host.cc @@ -75,6 +75,7 @@ void BalloonViewHost::InitRenderWidgetHostView() { static_cast<RenderWidgetHostViewGtk*>(render_widget_host_view_); view_gtk->InitAsChild(); native_host_->Attach(view_gtk->native_view()); + view_gtk->SetSize(balloon()->content_size()); #else NOTIMPLEMENTED(); #endif |