diff options
author | pkotwicz@chromium.org <pkotwicz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-06 23:32:47 +0000 |
---|---|---|
committer | pkotwicz@chromium.org <pkotwicz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-06 23:32:47 +0000 |
commit | 553981ab338db3c606b13016f3fb236cf7d0924f (patch) | |
tree | 206f7c96ac6fd4ee74083b7b7d339c5eeee96ab2 /ui/views/controls/scrollbar | |
parent | f16a1c323c36110e8b52caf8e1566c48167dd13a (diff) | |
download | chromium_src-553981ab338db3c606b13016f3fb236cf7d0924f.zip chromium_src-553981ab338db3c606b13016f3fb236cf7d0924f.tar.gz chromium_src-553981ab338db3c606b13016f3fb236cf7d0924f.tar.bz2 |
Revert 140877 - Rename DrawBitmapInt to DrawImageInt
Bug=None
Test=Compiles
Review URL: https://chromiumcodereview.appspot.com/10512021
TBR=pkotwicz@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10546037
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140882 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/views/controls/scrollbar')
-rw-r--r-- | ui/views/controls/scrollbar/bitmap_scroll_bar.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ui/views/controls/scrollbar/bitmap_scroll_bar.cc b/ui/views/controls/scrollbar/bitmap_scroll_bar.cc index fbd2835..6caaac0 100644 --- a/ui/views/controls/scrollbar/bitmap_scroll_bar.cc +++ b/ui/views/controls/scrollbar/bitmap_scroll_bar.cc @@ -118,19 +118,19 @@ class BitmapScrollBarThumb : public BaseScrollBarThumb { protected: // View overrides: virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE { - canvas->DrawImageInt(*start_cap_image(), 0, 0); + canvas->DrawBitmapInt(*start_cap_image(), 0, 0); int top_cap_height = start_cap_image()->height(); int bottom_cap_height = end_cap_image()->height(); int thumb_body_height = height() - top_cap_height - bottom_cap_height; canvas->TileImageInt(*background_image(), 0, top_cap_height, background_image()->width(), thumb_body_height); - canvas->DrawImageInt(*end_cap_image(), 0, - height() - bottom_cap_height); + canvas->DrawBitmapInt(*end_cap_image(), 0, + height() - bottom_cap_height); // Paint the grippy over the track. int grippy_x = (width() - grippy_image()->width()) / 2; int grippy_y = (thumb_body_height - grippy_image()->height()) / 2; - canvas->DrawImageInt(*grippy_image(), grippy_x, grippy_y); + canvas->DrawBitmapInt(*grippy_image(), grippy_x, grippy_y); } private: |