diff options
author | kevers@chromium.org <kevers@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-26 08:15:02 +0000 |
---|---|---|
committer | kevers@chromium.org <kevers@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-26 08:15:02 +0000 |
commit | 478b0e47e35ab33c2e53c7c1a9c904f9e7008fdd (patch) | |
tree | dc06c542307970e3c71196324748047b5e700cab /ui | |
parent | a353643caf90ca56ea77d24a6fe5b9636c81b99c (diff) | |
download | chromium_src-478b0e47e35ab33c2e53c7c1a9c904f9e7008fdd.zip chromium_src-478b0e47e35ab33c2e53c7c1a9c904f9e7008fdd.tar.gz chromium_src-478b0e47e35ab33c2e53c7c1a9c904f9e7008fdd.tar.bz2 |
Fix painting of scrollbars in Windows Classic mode.
BUG=195603
Review URL: https://chromiumcodereview.appspot.com/12843029
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@190590 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui')
-rw-r--r-- | ui/views/controls/scrollbar/native_scroll_bar_views.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/views/controls/scrollbar/native_scroll_bar_views.cc b/ui/views/controls/scrollbar/native_scroll_bar_views.cc index f9ac51c..eecec0a 100644 --- a/ui/views/controls/scrollbar/native_scroll_bar_views.cc +++ b/ui/views/controls/scrollbar/native_scroll_bar_views.cc @@ -290,6 +290,7 @@ void NativeScrollBarViews::OnPaint(gfx::Canvas* canvas) { params_.scrollbar_track.track_y = bounds.y(); params_.scrollbar_track.track_width = bounds.width(); params_.scrollbar_track.track_height = bounds.height(); + params_.scrollbar_track.classic_state = 0; GetNativeTheme()->Paint(canvas->sk_canvas(), part_, state_, bounds, params_); } |