Index: skia/ext/platform_canvas_mac.cc |
=================================================================== |
--- skia/ext/platform_canvas_mac.cc (revision 86628) |
+++ skia/ext/platform_canvas_mac.cc (working copy) |
@@ -4,7 +4,7 @@ |
#include "skia/ext/platform_canvas.h" |
-#include "skia/ext/bitmap_platform_device.h" |
+#include "skia/ext/bitmap_platform_device_mac.h" |
#include "third_party/skia/include/core/SkTypes.h" |
namespace skia { |
@@ -49,4 +49,12 @@ |
context, width, height, is_opaque)); |
} |
+CGContextRef PlatformCanvas::beginPlatformPaint() const { |
+ return getTopPlatformDevice().BeginPlatformPaint(); |
+} |
+ |
+void PlatformCanvas::endPlatformPaint() const { |
+ getTopPlatformDevice().EndPlatformPaint(); |
+} |
+ |
} // namespace skia |