aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/pdf
diff options
context:
space:
mode:
authorGravatar reed <reed@google.com>2014-09-21 09:39:55 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2014-09-21 09:39:55 -0700
commit3716fd067a5621bb94a6cb08d72afec8bf3aceda (patch)
treecf5ceefd515bee37eec7404e3b86cd18a4d9ee80 /src/pdf
parent00a138c542bec58cac1a2ecc32b08c8312063ae5 (diff)
introduce Props to surface (work in progress)
BUG=skia: R=robertphillips@google.com, bsalomon@google.com, jvanverth@google.com, bungeman@google.com, fmalita@google.com, vangelis@chromium.org, reed@chromium.org Author: reed@google.com Review URL: https://codereview.chromium.org/551463004
Diffstat (limited to 'src/pdf')
-rw-r--r--src/pdf/SkPDFDevice.cpp4
1 files changed, 2 insertions, 2 deletions
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() {