Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(860)

Unified Diff: tests/AnnotationTest.cpp

Issue 2354403002: document.close from bool to void (Closed)
Patch Set: keep endPortfolio returning a bool Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/xps/SkDocument_XPS.cpp ('k') | tests/CanvasTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/AnnotationTest.cpp
diff --git a/tests/AnnotationTest.cpp b/tests/AnnotationTest.cpp
index 0a9dfeac18c9fa8fec98d91332e319aff17ea9a8..cc2fd1f912f4ec4150b6da68d6fe26916cc2c5bd 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();
« no previous file with comments | « src/xps/SkDocument_XPS.cpp ('k') | tests/CanvasTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698