Chromium Code Reviews| 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..22dceef30242c2f6b1ebe849b99897c3acbb0556 100644 |
| --- a/ui/gfx/canvas_skia_linux.cc |
| +++ b/ui/gfx/canvas_skia_linux.cc |
| @@ -118,8 +118,9 @@ 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), |
|
Peter Kasting
2011/10/27 19:17:29
Nit: OK to leave this on previous line
tfarina
2011/10/27 20:46:03
Done.
|
| + gfx::Rect(0, 0, bounds_.width() + 2, bounds_.height() + 2)); |
| { |
| skia::ScopedPlatformPaint scoped_platform_paint(text_canvas.sk_canvas()); |