From 4a8126e7f81384526629b1e21bf89b632ea13cd9 Mon Sep 17 00:00:00 2001 From: reed Date: Mon, 22 Sep 2014 07:29:03 -0700 Subject: Introduce Props to surface (patchset #27 id:520001 of https://codereview.chromium.org/551463004/)" This reverts commit 29c857d0f3a1cb837f73406eeb6ba9771879b5e7. TBR= Author: reed@google.com Review URL: https://codereview.chromium.org/588143004 --- src/pdf/SkPDFDevice.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/pdf') diff --git a/src/pdf/SkPDFDevice.cpp b/src/pdf/SkPDFDevice.cpp index f4ea694451..aa6b521887 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() { -- cgit v1.2.3