summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-23 03:33:05 +0000
committersky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-23 03:33:05 +0000
commit80a2efb4e0f68b5f4f268abdbb807abce0d2925b (patch)
treec6fbc2729c6a03b4db1227900a4acc514eb8ce51
parente80a42b2517ee31d28db08f60ff9322c3d704806 (diff)
downloadchromium_src-80a2efb4e0f68b5f4f268abdbb807abce0d2925b.zip
chromium_src-80a2efb4e0f68b5f4f268abdbb807abce0d2925b.tar.gz
chromium_src-80a2efb4e0f68b5f4f268abdbb807abce0d2925b.tar.bz2
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
-rw-r--r--chrome/browser/views/frame/browser_view_layout.cc3
1 files changed, 2 insertions, 1 deletions
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) {