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

Unified Diff: src/xps/SkDocument_XPS.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/utils/SkMultiPictureDocument.cpp ('k') | tests/AnnotationTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/xps/SkDocument_XPS.cpp
diff --git a/src/xps/SkDocument_XPS.cpp b/src/xps/SkDocument_XPS.cpp
index e1222c92bc348ee195a3ccef9220ff17a0358e2c..4a977aeaeeb01f7ae5cfcfbddfed9ed42d017964 100644
--- a/src/xps/SkDocument_XPS.cpp
+++ b/src/xps/SkDocument_XPS.cpp
@@ -49,9 +49,9 @@ protected:
fDevice.endSheet();
}
- bool onClose(SkWStream*) override {
+ void onClose(SkWStream*) override {
SkASSERT(!fCanvas.get());
- return fDevice.endPortfolio();
+ (void)fDevice.endPortfolio();
}
void onAbort() override {}
« no previous file with comments | « src/utils/SkMultiPictureDocument.cpp ('k') | tests/AnnotationTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698