From 80a2efb4e0f68b5f4f268abdbb807abce0d2925b Mon Sep 17 00:00:00 2001 From: "sky@chromium.org" Date: Thu, 23 Sep 2010 03:33:05 +0000 Subject: Fixes bug in match preview getting layed out one pixel too high. BUG=54833 TEST=none Review URL: http://codereview.chromium.org/3462007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60256 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/views/frame/browser_view_layout.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/chrome/browser/views/frame/browser_view_layout.cc b/chrome/browser/views/frame/browser_view_layout.cc index f7f6de0..7167dad 100644 --- a/chrome/browser/views/frame/browser_view_layout.cc +++ b/chrome/browser/views/frame/browser_view_layout.cc @@ -390,7 +390,8 @@ int BrowserViewLayout::GetTopMarginForActiveContent() { return 0; } - return active_bookmark_bar_->height(); + // Adjust for separator. + return active_bookmark_bar_->height() - kSeparationLineHeight; } int BrowserViewLayout::LayoutDownloadShelf(int bottom) { -- cgit v1.1