| Index: skia/ext/platform_canvas.cc
|
| ===================================================================
|
| --- skia/ext/platform_canvas.cc (revision 91504)
|
| +++ skia/ext/platform_canvas.cc (working copy)
|
| @@ -9,8 +9,13 @@
|
|
|
| namespace skia {
|
|
|
| -PlatformCanvas::PlatformCanvas() {}
|
| +PlatformCanvas::PlatformCanvas() {
|
| + setDeviceFactory(SkNEW(BitmapPlatformDeviceFactory))->unref();
|
| +}
|
|
|
| +PlatformCanvas::PlatformCanvas(SkDeviceFactory* factory) : SkCanvas(factory) {
|
| +}
|
| +
|
| SkDevice* PlatformCanvas::setBitmapDevice(const SkBitmap&) {
|
| SkASSERT(false); // Should not be called.
|
| return NULL;
|
|
|