aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/xps
diff options
context:
space:
mode:
Diffstat (limited to 'src/xps')
-rw-r--r--src/xps/SkDocument_XPS.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xps/SkDocument_XPS.cpp b/src/xps/SkDocument_XPS.cpp
index e1222c92bc..4a977aeaee 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 {}