Index: src/core/SkBitmapDevice.cpp |
diff --git a/src/core/SkBitmapDevice.cpp b/src/core/SkBitmapDevice.cpp |
index 343bbc8893a814a4dec83ea4375ec7a9671c80bb..8e8c10244bd5beb139dd3c8fd094d36c42acf358 100644 |
--- a/src/core/SkBitmapDevice.cpp |
+++ b/src/core/SkBitmapDevice.cpp |
@@ -117,7 +117,7 @@ void SkBitmapDevice::replaceBitmapBackendForRasterSurface(const SkBitmap& bm) { |
} |
SkBaseDevice* SkBitmapDevice::onCreateDevice(const CreateInfo& cinfo, const SkPaint*) { |
- SkDeviceProperties leaky(cinfo.fPixelGeometry); |
+ const SkDeviceProperties leaky(cinfo.fPixelGeometry); |
return SkBitmapDevice::Create(cinfo.fInfo, &leaky); |
} |