Index: ui/gfx/render_text.cc |
diff --git a/ui/gfx/render_text.cc b/ui/gfx/render_text.cc |
index 5de42606e0bda78830ec683052b637627bec2a13..001b4b2e827b5529a198db6be9f70e7e36142e3f 100644 |
--- a/ui/gfx/render_text.cc |
+++ b/ui/gfx/render_text.cc |
@@ -352,11 +352,11 @@ void RenderText::Draw(Canvas* canvas) { |
paint.setStyle(SkPaint::kFill_Style); |
paint.setColor(i->foreground); |
paint.setStrokeWidth(kStrikeWidth); |
- canvas->AsCanvasSkia()->drawLine(SkIntToScalar(bounds.x()), |
- SkIntToScalar(bounds.bottom()), |
- SkIntToScalar(bounds.right()), |
- SkIntToScalar(bounds.y()), |
- paint); |
+ canvas->GetSkCanvas()->drawLine(SkIntToScalar(bounds.x()), |
+ SkIntToScalar(bounds.bottom()), |
+ SkIntToScalar(bounds.right()), |
+ SkIntToScalar(bounds.y()), |
+ paint); |
} |
bounds.set_x(bounds.x() + bounds.width()); |