Index: skia/ext/platform_canvas_mac.cc |
=================================================================== |
--- skia/ext/platform_canvas_mac.cc (revision 80484) |
+++ skia/ext/platform_canvas_mac.cc (working copy) |
@@ -50,11 +50,11 @@ |
} |
CGContextRef PlatformCanvas::beginPlatformPaint() const { |
- return getTopPlatformDevice().GetBitmapContext(); |
+ return getTopPlatformDevice().BeginPlatformPaint(); |
} |
void PlatformCanvas::endPlatformPaint() const { |
- // Flushing will be done in onAccessBitmap. |
+ getTopPlatformDevice().EndPlatformPaint(); |
} |
} // namespace skia |