Index: skia/ext/platform_canvas_linux.cc |
=================================================================== |
--- skia/ext/platform_canvas_linux.cc (revision 165342) |
+++ skia/ext/platform_canvas_linux.cc (working copy) |
@@ -11,28 +11,4 @@ |
namespace skia { |
-PlatformCanvas::PlatformCanvas(int width, int height, bool is_opaque) { |
- TRACE_EVENT2("skia", "PlatformCanvas::PlatformCanvas", |
- "width", width, "height", height); |
- if (!initialize(width, height, is_opaque)) |
- SK_CRASH(); |
-} |
- |
-PlatformCanvas::PlatformCanvas(int width, int height, bool is_opaque, |
- uint8_t* data) { |
- TRACE_EVENT2("skia", "PlatformCanvas::PlatformCanvas", |
- "width", width, "height", height); |
- if (!initialize(width, height, is_opaque, data)) |
- SK_CRASH(); |
-} |
- |
-PlatformCanvas::~PlatformCanvas() { |
-} |
- |
-bool PlatformCanvas::initialize(int width, int height, bool is_opaque, |
- uint8_t* data) { |
- return initializeWithDevice(BitmapPlatformDevice::Create( |
- width, height, is_opaque, data)); |
-} |
- |
} // namespace skia |