Index: skia/ext/platform_canvas_mac.cc |
=================================================================== |
--- skia/ext/platform_canvas_mac.cc (revision 85672) |
+++ skia/ext/platform_canvas_mac.cc (working copy) |
@@ -4,7 +4,7 @@ |
#include "skia/ext/platform_canvas.h" |
-#include "skia/ext/bitmap_platform_device_mac.h" |
+#include "skia/ext/bitmap_platform_device.h" |
#include "third_party/skia/include/core/SkTypes.h" |
namespace skia { |
@@ -50,11 +50,11 @@ |
} |
CGContextRef PlatformCanvas::beginPlatformPaint() const { |
- return getTopPlatformDevice().BeginPlatformPaint(); |
+ return platform_util::BeginPlatformPaint(&getTopDevice()); |
} |
void PlatformCanvas::endPlatformPaint() const { |
- getTopPlatformDevice().EndPlatformPaint(); |
+ platform_util::EndPlatformPaint(&getTopDevice()); |
} |
} // namespace skia |