From 553981ab338db3c606b13016f3fb236cf7d0924f Mon Sep 17 00:00:00 2001 From: "pkotwicz@chromium.org" Date: Wed, 6 Jun 2012 23:32:47 +0000 Subject: 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 --- ui/views/controls/scrollbar/bitmap_scroll_bar.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'ui/views/controls/scrollbar') 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: -- cgit v1.1