Index: skia/ext/bitmap_platform_device_win.cc |
=================================================================== |
--- skia/ext/bitmap_platform_device_win.cc (revision 165342) |
+++ skia/ext/bitmap_platform_device_win.cc (working copy) |
@@ -268,6 +268,15 @@ |
return bitmap_device; |
} |
+// PlatformCanvas impl |
+ |
+SkCanvas* CreatePlatformCanvas(int width, int height, bool is_opaque, |
sky
2012/11/01 17:41:39
On windows we need to support creating with the Bi
reed1
2012/11/01 21:07:21
Not sure what you're saying. I have also also upda
sky
2012/11/01 21:44:57
Windows has two configurations. One uses PlatformC
|
+ HANDLE shared_section, OnFailureType failureType) { |
+ SkDevice* dev = BitmapPlatformDevice::Create(width, height, is_opaque, |
+ shared_section); |
+ return CreateCanvas(dev, failureType); |
+} |
+ |
// Port of PlatformBitmap to win |
PlatformBitmap::~PlatformBitmap() { |