summaryrefslogtreecommitdiffstats
path: root/views/controls
diff options
context:
space:
mode:
authorsky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-11 16:33:09 +0000
committersky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-11 16:33:09 +0000
commit632b8ae1773f3f921f92e850753f72b870fa6ecb (patch)
tree3f046fc3a2f3cd65ee6b298253c08ced0d340deb /views/controls
parent16632e2d88a559c7e1e7cfb2cc37c46022788699 (diff)
downloadchromium_src-632b8ae1773f3f921f92e850753f72b870fa6ecb.zip
chromium_src-632b8ae1773f3f921f92e850753f72b870fa6ecb.tar.gz
chromium_src-632b8ae1773f3f921f92e850753f72b870fa6ecb.tar.bz2
Lands http://codereview.chromium.org/165271 for tedoc. From tedoc:
Fix set_x to set_y for vertical scrolling BUG=NONE TEST=none Review URL: http://codereview.chromium.org/164321 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23028 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/controls')
-rw-r--r--views/controls/scrollbar/bitmap_scroll_bar.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/controls/scrollbar/bitmap_scroll_bar.cc b/views/controls/scrollbar/bitmap_scroll_bar.cc
index 7770768..0736501 100644
--- a/views/controls/scrollbar/bitmap_scroll_bar.cc
+++ b/views/controls/scrollbar/bitmap_scroll_bar.cc
@@ -117,7 +117,7 @@ class BitmapScrollBarThumb : public View {
if (scroll_bar_->IsHorizontal()) {
thumb_bounds.set_x(track_bounds.x() + position);
} else {
- thumb_bounds.set_x(track_bounds.y() + position);
+ thumb_bounds.set_y(track_bounds.y() + position);
}
SetBounds(thumb_bounds);
}