summaryrefslogtreecommitdiffstats
path: root/ui/views/bubble
diff options
context:
space:
mode:
authorpkotwicz@chromium.org <pkotwicz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-06 23:16:19 +0000
committerpkotwicz@chromium.org <pkotwicz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-06 23:16:19 +0000
commit782388a4268cd2543ed6f88a01100fc00f2b0293 (patch)
tree8a80fc48f23a713f4fe0b3765a4ea949db1cb5f8 /ui/views/bubble
parentd4ae8057c8b4e45bf5e5998309418ed11d390171 (diff)
downloadchromium_src-782388a4268cd2543ed6f88a01100fc00f2b0293.zip
chromium_src-782388a4268cd2543ed6f88a01100fc00f2b0293.tar.gz
chromium_src-782388a4268cd2543ed6f88a01100fc00f2b0293.tar.bz2
Rename DrawBitmapInt to DrawImageInt
Bug=None Test=Compiles Review URL: https://chromiumcodereview.appspot.com/10512021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140877 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/views/bubble')
-rw-r--r--ui/views/bubble/bubble_border.cc14
1 files changed, 7 insertions, 7 deletions
diff --git a/ui/views/bubble/bubble_border.cc b/ui/views/bubble/bubble_border.cc
index 6f550d5..3b4f03d 100644
--- a/ui/views/bubble/bubble_border.cc
+++ b/ui/views/bubble/bubble_border.cc
@@ -324,7 +324,7 @@ void BubbleBorder::Paint(const views::View& view, gfx::Canvas* canvas) const {
}
// Top left corner.
- canvas->DrawBitmapInt(*images_->top_left, left, top);
+ canvas->DrawImageInt(*images_->top_left, left, top);
// Top edge.
if (arrow_location_ == TOP_LEFT || arrow_location_ == TOP_RIGHT) {
@@ -353,7 +353,7 @@ void BubbleBorder::Paint(const views::View& view, gfx::Canvas* canvas) const {
}
// Top right corner.
- canvas->DrawBitmapInt(*images_->top_right, right - tr_width, top);
+ canvas->DrawImageInt(*images_->top_right, right - tr_width, top);
// Right edge.
if (arrow_location_ == RIGHT_TOP || arrow_location_ == RIGHT_BOTTOM) {
@@ -384,9 +384,9 @@ void BubbleBorder::Paint(const views::View& view, gfx::Canvas* canvas) const {
}
// Bottom right corner.
- canvas->DrawBitmapInt(*images_->bottom_right,
- right - br_width,
- bottom - br_height);
+ canvas->DrawImageInt(*images_->bottom_right,
+ right - br_width,
+ bottom - br_height);
// Bottom edge.
if (arrow_location_ == BOTTOM_LEFT || arrow_location_ == BOTTOM_RIGHT) {
@@ -417,7 +417,7 @@ void BubbleBorder::Paint(const views::View& view, gfx::Canvas* canvas) const {
}
// Bottom left corner.
- canvas->DrawBitmapInt(*images_->bottom_left, left, bottom - bl_height);
+ canvas->DrawImageInt(*images_->bottom_left, left, bottom - bl_height);
}
void BubbleBorder::DrawEdgeWithArrow(gfx::Canvas* canvas,
@@ -446,7 +446,7 @@ void BubbleBorder::DrawEdgeWithArrow(gfx::Canvas* canvas,
is_horizontal ? edge->height() : before_arrow);
}
- canvas->DrawBitmapInt(*arrow,
+ canvas->DrawImageInt(*arrow,
start_x + (is_horizontal ? before_arrow : offset),
start_y + (is_horizontal ? offset : before_arrow));