summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorcaryclark <caryclark@google.com>2016-05-11 10:52:53 -0700
committerCommit bot <commit-bot@chromium.org>2016-05-11 10:52:53 -0700
commit317354363a60529e486cbf4e8fcb883d34ea989b (patch)
tree9bd95a12ed3de5855ddcee45c58fd34439859ebc /samples
parentf74ad998d2e8d2636fb25e94823946a3b151e34e (diff)
downloadpdfium-317354363a60529e486cbf4e8fcb883d34ea989b.tar.xz
fix skia build
Fix some bit rot with the Skia build; update the gypi to current and switch a deprecated call for the current one. R=tsepez@chromium.org Review-Url: https://codereview.chromium.org/1958263002
Diffstat (limited to 'samples')
-rw-r--r--samples/pdfium_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/samples/pdfium_test.cc b/samples/pdfium_test.cc
index 47c8d5fe3f..149ebf793c 100644
--- a/samples/pdfium_test.cc
+++ b/samples/pdfium_test.cc
@@ -222,7 +222,7 @@ void WriteSkp(const char* pdf_name, int num, const void* recorder) {
}
SkPictureRecorder* r = (SkPictureRecorder*)recorder;
- SkPicture* picture = r->endRecordingAsPicture();
+ sk_sp<SkPicture> picture(r->finishRecordingAsPicture());
SkFILEWStream wStream(filename);
picture->serialize(&wStream);
}