Index: skia/ext/bitmap_platform_device_android.cc |
=================================================================== |
--- skia/ext/bitmap_platform_device_android.cc (revision 167659) |
+++ skia/ext/bitmap_platform_device_android.cc (working copy) |
@@ -72,6 +72,14 @@ |
SkASSERT(false); |
} |
+// PlatformCanvas impl |
+ |
+SkCanvas* CreatePlatformCanvas(int width, int height, bool is_opaque, |
+ uint8_t* data, OnFailureType failureType) { |
+ SkDevice* dev = BitmapPlatformDevice::Create(width, height, is_opaque, data); |
+ return CreateCanvas(dev, failureType); |
+} |
+ |
// Port of PlatformBitmap to android |
PlatformBitmap::~PlatformBitmap() {} |