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 {} |