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

Unified Diff: ui/native_theme/native_theme_base.cc

Issue 1574913004: Render aura scrollbars programmatically instead of with ninebox assets. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove assets Created 4 years, 11 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: ui/native_theme/native_theme_base.cc
diff --git a/ui/native_theme/native_theme_base.cc b/ui/native_theme/native_theme_base.cc
index 090279f0c902da4badabe5b1ecb4ab9a884bfa48..1a7837ef3ebc6161d32094f9b56b21ebf3f759e7 100644
--- a/ui/native_theme/native_theme_base.cc
+++ b/ui/native_theme/native_theme_base.cc
@@ -173,8 +173,8 @@ void NativeThemeBase::PaintStateTransition(SkCanvas* canvas,
switch (part) {
case kScrollbarHorizontalThumb:
case kScrollbarVerticalThumb:
- PaintScrollbarThumbStateTransition(
- canvas, startState, endState, progress, rect);
+ PaintScrollbarThumbStateTransition(canvas, part, startState, endState,
+ progress, rect);
break;
default:
NOTREACHED() << "Does not support state transition for this part:"

Powered by Google App Engine
This is Rietveld 408576698