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

Unified Diff: chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc

Issue 2899133004: Reduce overdraw on bookmark bar (Closed)
Patch Set: new approach 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/bookmarks/bookmark_bar_view.cc
diff --git a/chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc b/chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc
index ce37e63e3dbf78cae113307a1998cf5fb894aa80..8fd10480ee79058275fb7282c5a76fd2f332c7e7 100644
--- a/chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc
+++ b/chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc
@@ -605,7 +605,7 @@ BookmarkBarView::BookmarkBarView(Browser* browser, BrowserView* browser_view)
// Don't let the bookmarks show on top of the location bar while animating.
SetPaintToLayer();
layer()->SetMasksToBounds(true);
- layer()->SetFillsBoundsOpaquely(false);
+ layer()->SetFillsBoundsOpaquely(true);
sky 2017/05/26 13:40:53 I'm surprised this would work. Don't we need the t
yiyix 2017/05/26 18:30:33 I believe that it's opaque for both attached and d
size_animation_.Reset(1);
}
« no previous file with comments | « no previous file | chrome/browser/ui/views/frame/browser_view.cc » ('j') | chrome/browser/ui/views/frame/browser_view.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698