diff options
author | tony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-05 01:03:53 +0000 |
---|---|---|
committer | tony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-05 01:03:53 +0000 |
commit | 0fcb5f81b8c58ffdb47be80bb7985302572a937b (patch) | |
tree | 764936729fc82c4d093a7c58f810ed9b7523b4d6 /chrome | |
parent | 995925ba4447efcc0d1d81285504621d87e50662 (diff) | |
download | chromium_src-0fcb5f81b8c58ffdb47be80bb7985302572a937b.zip chromium_src-0fcb5f81b8c58ffdb47be80bb7985302572a937b.tar.gz chromium_src-0fcb5f81b8c58ffdb47be80bb7985302572a937b.tar.bz2 |
Fix a bug where we were over compensating for the height of the
bookmarks bar during an animation. What we want is the "extra"
height provided by the bookmarks bar. Since we always show at
least 4px, we don't count that as extra height.
Review URL: http://codereview.chromium.org/366019
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31051 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r-- | chrome/browser/gtk/bookmark_bar_gtk.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/gtk/bookmark_bar_gtk.cc b/chrome/browser/gtk/bookmark_bar_gtk.cc index ae9b083..166570d 100644 --- a/chrome/browser/gtk/bookmark_bar_gtk.cc +++ b/chrome/browser/gtk/bookmark_bar_gtk.cc @@ -335,7 +335,7 @@ void BookmarkBarGtk::EnterFullscreen() { } int BookmarkBarGtk::GetHeight() { - return event_box_->allocation.height; + return event_box_->allocation.height - kBookmarkBarMinimumHeight; } bool BookmarkBarGtk::IsAnimating() { |