Index: src/core/SkCanvas.cpp |
diff --git a/src/core/SkCanvas.cpp b/src/core/SkCanvas.cpp |
index d6f90df21a91449080f3bcbedb8f9b19cca7a0d3..6169492a765b4439dcce1ac000ec05062dc9db94 100644 |
--- a/src/core/SkCanvas.cpp |
+++ b/src/core/SkCanvas.cpp |
@@ -607,7 +607,7 @@ SkCanvas::SkCanvas(SkBaseDevice* device, const SkSurfaceProps* props, InitFlags |
SkCanvas::SkCanvas(SkBaseDevice* device) |
: fMCStack(sizeof(MCRec), fMCRecStorage, sizeof(fMCRecStorage)) |
- , fProps(device->getLeakyProperties()) |
+ , fProps(device->surfaceProps()) |
{ |
inc_canvas(); |
@@ -616,7 +616,7 @@ SkCanvas::SkCanvas(SkBaseDevice* device) |
SkCanvas::SkCanvas(SkBaseDevice* device, InitFlags flags) |
: fMCStack(sizeof(MCRec), fMCRecStorage, sizeof(fMCRecStorage)) |
- , fProps(device->getLeakyProperties()) |
+ , fProps(device->surfaceProps()) |
{ |
inc_canvas(); |