| Index: skia/ext/platform_canvas_linux.cc
|
| ===================================================================
|
| --- skia/ext/platform_canvas_linux.cc (revision 90617)
|
| +++ skia/ext/platform_canvas_linux.cc (working copy)
|
| @@ -13,14 +13,12 @@
|
| 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();
|
| }
|
|
|