aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/AnnotationTest.cpp
diff options
context:
space:
mode:
authorGravatar reed <reed@google.com>2016-09-22 14:12:46 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-09-22 14:12:47 -0700
commitd14df7c700bf77c8c42c791ca7a865c1bbc96679 (patch)
tree553e6ab4662bc2737c7fccc8f90ba780726c853b /tests/AnnotationTest.cpp
parentae6e4869c94596eb3bf5069888b32ab06199aec0 (diff)
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
Diffstat (limited to 'tests/AnnotationTest.cpp')
-rw-r--r--tests/AnnotationTest.cpp4
1 files changed, 2 insertions, 2 deletions
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<SkData> data(SkData::MakeWithCString("http://www.gooogle.com"));
SkAnnotateRectWithURL(canvas, r, data.get());
- REPORTER_ASSERT(reporter, doc->close());
+ doc->close();
sk_sp<SkData> out = outStream.detachAsData();
const char* rawOutput = (const char*)out->data();
@@ -68,7 +68,7 @@ DEF_TEST(Annotation_NamedDestination, reporter) {
sk_sp<SkData> data(SkData::MakeWithCString("example"));
SkAnnotateNamedDestination(canvas, p, data.get());
- REPORTER_ASSERT(reporter, doc->close());
+ doc->close();
sk_sp<SkData> out = outStream.detachAsData();
const char* rawOutput = (const char*)out->data();