Index: ui/gfx/canvas_paint_mac.mm |
diff --git a/ui/gfx/canvas_paint_mac.mm b/ui/gfx/canvas_paint_mac.mm |
index 4cb2da0f8f6667f0193fa5fac5438084bb83f91a..cc1c6a4f7441dee63ba169f98f441b83b186c484 100644 |
--- a/ui/gfx/canvas_paint_mac.mm |
+++ b/ui/gfx/canvas_paint_mac.mm |
@@ -68,7 +68,7 @@ void CanvasSkiaPaint::Init(bool opaque) { |
canvas->translate(-SkDoubleToScalar(NSMinX(rectangle_)), |
-SkDoubleToScalar(NSMinY(rectangle_))); |
- context_ = skia::GetBitmapContext(skia::GetTopDevice(*canvas)); |
+ context_ = skia::GetBitmapContext(*canvas); |
} |
} // namespace skia |