summaryrefslogtreecommitdiffstats
path: root/skia/ext/platform_canvas_linux.cc
diff options
context:
space:
mode:
Diffstat (limited to 'skia/ext/platform_canvas_linux.cc')
-rw-r--r--skia/ext/platform_canvas_linux.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/skia/ext/platform_canvas_linux.cc b/skia/ext/platform_canvas_linux.cc
index ea0f0c8..f471b33 100644
--- a/skia/ext/platform_canvas_linux.cc
+++ b/skia/ext/platform_canvas_linux.cc
@@ -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();
}