aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/xps
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 /src/xps
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 '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 {}