Index: src/core/SkBitmapDevice.cpp |
diff --git a/src/core/SkBitmapDevice.cpp b/src/core/SkBitmapDevice.cpp |
index fc0e63e9ae0b4ad93ea9806e243e1d6ae6549540..c8ac8d2d44f230b94de40aab052f947e5e942073 100644 |
--- a/src/core/SkBitmapDevice.cpp |
+++ b/src/core/SkBitmapDevice.cpp |
@@ -360,8 +360,8 @@ void SkBitmapDevice::drawDevice(const SkDraw& draw, SkBaseDevice* device, |
draw.drawSprite(static_cast<SkBitmapDevice*>(device)->fBitmap, x, y, paint); |
} |
-SkSurface* SkBitmapDevice::newSurface(const SkImageInfo& info, const SkSurfaceProps& props) { |
- return SkSurface::NewRaster(info, &props); |
+sk_sp<SkSurface> SkBitmapDevice::makeSurface(const SkImageInfo& info, const SkSurfaceProps& props) { |
+ return SkSurface::MakeRaster(info, &props); |
} |
SkImageFilter::Cache* SkBitmapDevice::getImageFilterCache() { |