summaryrefslogtreecommitdiffstats
path: root/ui/views/controls/glow_hover_controller.cc
diff options
context:
space:
mode:
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) {