From 243cac7d0d9961ec15cea368168b98b7a4522f8d Mon Sep 17 00:00:00 2001 From: "pkotwicz@chromium.org" Date: Thu, 7 Jun 2012 13:29:20 +0000 Subject: Rename DrawBitmapInt to DrawImageInt Bug=None Test=Compiles Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=140877 Review URL: https://chromiumcodereview.appspot.com/10512021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141002 0039d316-1c4b-4281-b951-d872f2087c98 --- ui/views/controls/glow_hover_controller.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ui/views/controls/glow_hover_controller.cc') diff --git a/ui/views/controls/glow_hover_controller.cc b/ui/views/controls/glow_hover_controller.cc index f3b356b..88aee71 100644 --- a/ui/views/controls/glow_hover_controller.cc +++ b/ui/views/controls/glow_hover_controller.cc @@ -98,8 +98,8 @@ void GlowHoverController::Draw(gfx::Canvas* canvas, } gfx::ImageSkia result = SkBitmapOperations::CreateMaskedBitmap( hover_canvas.ExtractBitmap(), mask_image); - canvas->DrawBitmapInt(result, (view_->width() - mask_image.width()) / 2, - (view_->height() - mask_image.height()) / 2); + canvas->DrawImageInt(result, (view_->width() - mask_image.width()) / 2, + (view_->height() - mask_image.height()) / 2); } void GlowHoverController::AnimationEnded(const ui::Animation* animation) { -- cgit v1.1