| Index: skia/ext/platform_canvas_linux.cc
|
| ===================================================================
|
| --- skia/ext/platform_canvas_linux.cc (revision 91504)
|
| +++ skia/ext/platform_canvas_linux.cc (working copy)
|
| @@ -13,12 +13,14 @@
|
| namespace skia {
|
|
|
| PlatformCanvas::PlatformCanvas(int width, int height, bool is_opaque) {
|
| + setDeviceFactory(SkNEW(BitmapPlatformDeviceFactory))->unref();
|
| if (!initialize(width, height, is_opaque))
|
| SK_CRASH();
|
| }
|
|
|
| PlatformCanvas::PlatformCanvas(int width, int height, bool is_opaque,
|
| uint8_t* data) {
|
| + setDeviceFactory(SkNEW(BitmapPlatformDeviceFactory))->unref();
|
| if (!initialize(width, height, is_opaque, data))
|
| SK_CRASH();
|
| }
|
|
|