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

Unified Diff: chrome/browser/ui/views/toolbar/extension_toolbar_menu_view.cc

Issue 2555213004: Improving the appearance of overlay scrollbars (Closed)
Patch Set: attempt to fix mac Created 4 years 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/toolbar/extension_toolbar_menu_view.cc
diff --git a/chrome/browser/ui/views/toolbar/extension_toolbar_menu_view.cc b/chrome/browser/ui/views/toolbar/extension_toolbar_menu_view.cc
index 7c86a6d21cdcdd6a509117bf70658dbc2e7858a3..7651e067fd513f42311d5a959d31c5d8b4f67250 100644
--- a/chrome/browser/ui/views/toolbar/extension_toolbar_menu_view.cc
+++ b/chrome/browser/ui/views/toolbar/extension_toolbar_menu_view.cc
@@ -61,7 +61,7 @@ gfx::Size ExtensionToolbarMenuView::GetPreferredSize() const {
// views::ScrollView::GetPreferredSize() includes the contents' size, but
// not the scrollbar width. Add it in if necessary.
if (container_->GetPreferredSize().height() > max_height_)
- s.Enlarge(GetScrollBarWidth(), 0);
+ s.Enlarge(GetScrollBarLayoutWidth(), 0);
return s;
}

Powered by Google App Engine
This is Rietveld 408576698