Index: src/core/SkBitmapDevice.cpp |
diff --git a/src/core/SkBitmapDevice.cpp b/src/core/SkBitmapDevice.cpp |
index 4ca6cc37cd5d8871fcada5f903f3f42275326eab..34bd5b7cec6584358b1961f087133029ea681a48 100644 |
--- a/src/core/SkBitmapDevice.cpp |
+++ b/src/core/SkBitmapDevice.cpp |
@@ -116,8 +116,8 @@ void SkBitmapDevice::replaceBitmapBackendForRasterSurface(const SkBitmap& bm) { |
} |
SkBaseDevice* SkBitmapDevice::onCreateDevice(const CreateInfo& cinfo, const SkPaint*) { |
- const SkSurfaceProps leaky(0, cinfo.fPixelGeometry); |
- return SkBitmapDevice::Create(cinfo.fInfo, &leaky); |
+ const SkSurfaceProps surfaceProps(0, cinfo.fPixelGeometry); |
+ return SkBitmapDevice::Create(cinfo.fInfo, &surfaceProps); |
} |
const SkBitmap& SkBitmapDevice::onAccessBitmap() { |