aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/CanvasTest.cpp
diff options
context:
space:
mode:
authorGravatar halcanary <halcanary@google.com>2016-04-27 07:45:18 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-04-27 07:45:18 -0700
commit4b6566644f704cf9e30c71fa547c9b5915752792 (patch)
treef670fd01006423b2282ce74a80921aea121a77cf /tests/CanvasTest.cpp
parentd1556071715d28217b7c64774335fcce2cbf46c6 (diff)
SkDocument/PDF: new API
Diffstat (limited to 'tests/CanvasTest.cpp')
-rw-r--r--tests/CanvasTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/CanvasTest.cpp b/tests/CanvasTest.cpp
index 284e3cdedb..f22b7d0e25 100644
--- a/tests/CanvasTest.cpp
+++ b/tests/CanvasTest.cpp
@@ -570,7 +570,7 @@ static void TestPdfDevice(skiatest::Reporter* reporter,
const TestData& d,
CanvasTestStep* testStep) {
SkDynamicMemoryWStream outStream;
- SkAutoTUnref<SkDocument> doc(SkDocument::CreatePDF(&outStream));
+ sk_sp<SkDocument> doc(SkDocument::MakePDF(&outStream));
#if SK_SUPPORT_PDF
REPORTER_ASSERT(reporter, doc);
#else