Index: src/core/SkBitmapDevice.cpp |
diff --git a/src/core/SkBitmapDevice.cpp b/src/core/SkBitmapDevice.cpp |
index 0d6c4fcd7696702095ed69c3362c1a447626b83a..b48432efa0d348397a41ae73e3ce6ef73ae3f1e5 100644 |
--- a/src/core/SkBitmapDevice.cpp |
+++ b/src/core/SkBitmapDevice.cpp |
@@ -357,8 +357,8 @@ void SkBitmapDevice::drawDevice(const SkDraw& draw, SkBaseDevice* device, |
draw.drawSprite(src, x, y, paint); |
} |
-SkSurface* SkBitmapDevice::newSurface(const SkImageInfo& info) { |
- return SkSurface::NewRaster(info); |
+SkSurface* SkBitmapDevice::newSurface(const SkImageInfo& info, const SkSurfaceProps& props) { |
+ return SkSurface::NewRaster(info, &props); |
} |
const void* SkBitmapDevice::peekPixels(SkImageInfo* info, size_t* rowBytes) { |