summaryrefslogtreecommitdiffstats
path: root/ui/views/controls/glow_hover_controller.cc
diff options
context:
space:
mode:
authorpkotwicz@chromium.org <pkotwicz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-07 13:29:20 +0000
committerpkotwicz@chromium.org <pkotwicz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-07 13:29:20 +0000
commit243cac7d0d9961ec15cea368168b98b7a4522f8d (patch)
tree42fadb8cda77fc9c48d9b40439ac9aafc33d4550 /ui/views/controls/glow_hover_controller.cc
parent3e03036a6033332a4611b1d28a2f85b42f13a7c9 (diff)
downloadchromium_src-243cac7d0d9961ec15cea368168b98b7a4522f8d.zip
chromium_src-243cac7d0d9961ec15cea368168b98b7a4522f8d.tar.gz
chromium_src-243cac7d0d9961ec15cea368168b98b7a4522f8d.tar.bz2
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
Diffstat (limited to 'ui/views/controls/glow_hover_controller.cc')
-rw-r--r--ui/views/controls/glow_hover_controller.cc4
1 files changed, 2 insertions, 2 deletions
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) {