Index: ui/gfx/native_theme_win.cc |
diff --git a/ui/gfx/native_theme_win.cc b/ui/gfx/native_theme_win.cc |
index 23a5e5012491c4a1b3882eaccdef34c3c72b641b..a99df3814a0ca62ffbba39a9ebf858903086d556 100644 |
--- a/ui/gfx/native_theme_win.cc |
+++ b/ui/gfx/native_theme_win.cc |
@@ -367,7 +367,22 @@ HRESULT NativeThemeWin::PaintScrollbarArrow( |
NOTREACHED() << "Invalid part: " << part; |
break; |
} |
- |
+ switch(state) { |
+ case kDisabled: |
+ classic_state |= DFCS_INACTIVE; |
+ break; |
+ case kHovered: |
+ classic_state |= DFCS_HOT; |
+ break; |
+ case kNormal: |
+ break; |
+ case kPressed: |
+ classic_state |= DFCS_PUSHED; |
+ break; |
+ default: |
+ NOTREACHED() << "Invalid state: " << state; |
+ break; |
+ } |
DrawFrameControl(hdc, &rect_win, DFC_SCROLL, classic_state); |
return S_OK; |
} |