Chromium Code Reviews| Index: skia/ext/vector_canvas.cc |
| =================================================================== |
| --- skia/ext/vector_canvas.cc (revision 90617) |
| +++ skia/ext/vector_canvas.cc (working copy) |
| @@ -8,7 +8,7 @@ |
| namespace skia { |
| VectorCanvas::VectorCanvas(SkDevice* device) |
| - : PlatformCanvas(device->getDeviceFactory()) { |
| + : PlatformCanvas() { |
|
alokp
2011/06/28 16:19:46
no need to explicitly call the default constructor
|
| setDevice(device)->unref(); // Created with refcount 1, and setDevice refs. |
| } |