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

Unified Diff: ash/common/system/tray/tray_details_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: ash/common/system/tray/tray_details_view.cc
diff --git a/ash/common/system/tray/tray_details_view.cc b/ash/common/system/tray/tray_details_view.cc
index d48c0e3608800ba71fd7bb2ba4261fda9c035589..50a5064817ebf31800f22dc045190f29c9acef62 100644
--- a/ash/common/system/tray/tray_details_view.cc
+++ b/ash/common/system/tray/tray_details_view.cc
@@ -536,7 +536,7 @@ void TrayDetailsView::Layout() {
// row.
gfx::Size scroller_size = scroll_content_->GetPreferredSize();
scroller_->set_fixed_size(
- gfx::Size(width() + scroller_->GetScrollBarWidth(),
+ gfx::Size(width() + scroller_->GetScrollBarLayoutWidth(),
scroller_size.height() - (size.height() - height())));
}

Powered by Google App Engine
This is Rietveld 408576698