Index: views/bubble/bubble_border.cc |
diff --git a/views/bubble/bubble_border.cc b/views/bubble/bubble_border.cc |
index 80e1bc84af90cfa1a63c913e87010b1f0172313d..871e669bed455cf0b7db235c4d424e91918c0ae7 100644 |
--- a/views/bubble/bubble_border.cc |
+++ b/views/bubble/bubble_border.cc |
@@ -423,7 +423,7 @@ void BubbleBorder::DrawArrowInterior(gfx::Canvas* canvas, |
else |
path.lineTo(SkIntToScalar(tip_x + shift_x), SkIntToScalar(tip_y - shift_y)); |
path.close(); |
- canvas->AsCanvasSkia()->drawPath(path, paint); |
+ canvas->GetSkCanvas()->drawPath(path, paint); |
} |
///////////////////////// |
@@ -444,7 +444,7 @@ void BubbleBackground::Paint(gfx::Canvas* canvas, views::View* view) const { |
SkIntToScalar(bounds.right()), SkIntToScalar(bounds.bottom())); |
SkScalar radius = SkIntToScalar(BubbleBorder::GetCornerRadius()); |
path.addRoundRect(rect, radius, radius); |
- canvas->AsCanvasSkia()->drawPath(path, paint); |
+ canvas->GetSkCanvas()->drawPath(path, paint); |
} |
} // namespace views |