Chromium Code Reviews| 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 1272af7ecd19040b1f91e1c0cd15d4a94b168b7e..c63b3c6559584c39f0449400b1876add668616af 100644 |
| --- a/ui/native_theme/native_theme_base.cc |
| +++ b/ui/native_theme/native_theme_base.cc |
| @@ -236,7 +236,8 @@ void NativeThemeBase::Paint(SkCanvas* canvas, |
| case kScrollbarUpArrow: |
| case kScrollbarLeftArrow: |
| case kScrollbarRightArrow: |
| - PaintArrowButton(canvas, rect, part, state); |
| + if (scrollbar_button_length_ > 0) |
|
tapted
2014/08/13 01:13:29
nit: perhaps a comment (here, or - probably better
Andre
2014/08/13 20:04:21
Done.
|
| + PaintArrowButton(canvas, rect, part, state); |
| break; |
| case kScrollbarHorizontalThumb: |
| case kScrollbarVerticalThumb: |