Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(941)

Unified Diff: chrome/browser/ui/views/frame/browser_view_layout.cc

Issue 2899133004: Reduce overdraw on bookmark bar (Closed)
Patch Set: revert change in browserview Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/views/frame/browser_view_layout.cc
diff --git a/chrome/browser/ui/views/frame/browser_view_layout.cc b/chrome/browser/ui/views/frame/browser_view_layout.cc
index f781e84368037b6f2a95bb376a281e686bdbfadd..0b8410c63e9cb9a6e37d17a3ed40c26ba32c900d 100644
--- a/chrome/browser/ui/views/frame/browser_view_layout.cc
+++ b/chrome/browser/ui/views/frame/browser_view_layout.cc
@@ -512,8 +512,7 @@ int BrowserViewLayout::GetContentsOffsetForBookmarkBar() {
}
// Offset for the detached bookmark bar.
- return bookmark_bar_->height() -
- views::NonClientFrameView::kClientEdgeThickness;
+ return bookmark_bar_->height();
}
int BrowserViewLayout::LayoutDownloadShelf(int bottom) {
« no previous file with comments | « chrome/browser/ui/views/frame/browser_view.cc ('k') | chrome/browser/ui/views/frame/browser_view_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698