summaryrefslogtreecommitdiffstats
path: root/ui/gfx/canvas_linux.cc
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/gfx/canvas_linux.cc
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/gfx/canvas_linux.cc')
-rw-r--r--ui/gfx/canvas_linux.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/gfx/canvas_linux.cc b/ui/gfx/canvas_linux.cc
index 576eed2..9d417c9 100644
--- a/ui/gfx/canvas_linux.cc
+++ b/ui/gfx/canvas_linux.cc
@@ -157,7 +157,7 @@ void DrawStringContext::DrawWithHalo(SkColor text_color,
const SkBitmap& text_bitmap = const_cast<SkBitmap&>(
skia::GetTopDevice(*text_canvas.sk_canvas())->accessBitmap(false));
- canvas_->DrawBitmapInt(text_bitmap, text_rect_.x() - 1, text_rect_.y() - 1);
+ canvas_->DrawImageInt(text_bitmap, text_rect_.x() - 1, text_rect_.y() - 1);
}
void DrawStringContext::DrawUnderline(cairo_t* cr, double extra_edge_width) {