aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/CanvasTest.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/CanvasTest.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/CanvasTest.cpp')
-rw-r--r--tests/CanvasTest.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/CanvasTest.cpp b/tests/CanvasTest.cpp
index 59642975b4..2be83f3d2f 100644
--- a/tests/CanvasTest.cpp
+++ b/tests/CanvasTest.cpp
@@ -515,8 +515,6 @@ static void TestPdfDevice(skiatest::Reporter* reporter, const TestData& d, Canva
REPORTER_ASSERT(reporter, canvas);
step->setAssertMessageFormat(kPdfAssertMessageFormat);
step->draw(canvas, d, reporter);
-
- REPORTER_ASSERT(reporter, doc->close());
}
/*