Index: ui/gfx/canvas_skia_linux.cc |
diff --git a/ui/gfx/canvas_skia_linux.cc b/ui/gfx/canvas_skia_linux.cc |
index d5c5051343c285e0ce01be1e4d28f122b1b12820..2d47ff2a3d3f8eb168069151cf3a1a00d89f3794 100644 |
--- a/ui/gfx/canvas_skia_linux.cc |
+++ b/ui/gfx/canvas_skia_linux.cc |
@@ -118,8 +118,8 @@ void DrawStringContext::Draw(const SkColor& text_color) { |
void DrawStringContext::DrawWithHalo(const SkColor& text_color, |
const SkColor& halo_color) { |
gfx::CanvasSkia text_canvas(bounds_.width() + 2, bounds_.height() + 2, false); |
- text_canvas.FillRectInt(static_cast<SkColor>(0), |
- 0, 0, bounds_.width() + 2, bounds_.height() + 2); |
+ text_canvas.FillRect(static_cast<SkColor>(0), |
+ gfx::Rect(0, 0, bounds_.width() + 2, bounds_.height() + 2)); |
{ |
skia::ScopedPlatformPaint scoped_platform_paint(text_canvas.sk_canvas()); |