Index: src/pdf/SkPDFDevice.cpp |
diff --git a/src/pdf/SkPDFDevice.cpp b/src/pdf/SkPDFDevice.cpp |
index f4ea694451d93433c797aeae6f8be78b11b10bd0..aa6b521887a04e1a9dbb109315376d1f2ef98863 100644 |
--- a/src/pdf/SkPDFDevice.cpp |
+++ b/src/pdf/SkPDFDevice.cpp |
@@ -1261,8 +1261,8 @@ void SkPDFDevice::onDetachFromCanvas() { |
fClipStack = NULL; |
} |
-SkSurface* SkPDFDevice::newSurface(const SkImageInfo& info) { |
- return SkSurface::NewRaster(info); |
+SkSurface* SkPDFDevice::newSurface(const SkImageInfo& info, const SkSurfaceProps& props) { |
+ return SkSurface::NewRaster(info, &props); |
} |
ContentEntry* SkPDFDevice::getLastContentEntry() { |