From d14df7c700bf77c8c42c791ca7a865c1bbc96679 Mon Sep 17 00:00:00 2001 From: reed Date: Thu, 22 Sep 2016 14:12:46 -0700 Subject: document.close from bool to void Nothing meaningful is returned, it is inconsistent with the bulk of the rest of skia's api. The C api is waiting on this change as well. Required chrome CL: https://codereview.chromium.org/2355343003/ BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2354403002 Review-Url: https://codereview.chromium.org/2354403002 --- tests/AnnotationTest.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/AnnotationTest.cpp') diff --git a/tests/AnnotationTest.cpp b/tests/AnnotationTest.cpp index 0a9dfeac18..cc2fd1f912 100644 --- a/tests/AnnotationTest.cpp +++ b/tests/AnnotationTest.cpp @@ -50,7 +50,7 @@ DEF_TEST(Annotation_PdfLink, reporter) { sk_sp data(SkData::MakeWithCString("http://www.gooogle.com")); SkAnnotateRectWithURL(canvas, r, data.get()); - REPORTER_ASSERT(reporter, doc->close()); + doc->close(); sk_sp out = outStream.detachAsData(); const char* rawOutput = (const char*)out->data(); @@ -68,7 +68,7 @@ DEF_TEST(Annotation_NamedDestination, reporter) { sk_sp data(SkData::MakeWithCString("example")); SkAnnotateNamedDestination(canvas, p, data.get()); - REPORTER_ASSERT(reporter, doc->close()); + doc->close(); sk_sp out = outStream.detachAsData(); const char* rawOutput = (const char*)out->data(); -- cgit v1.2.3