aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/device/xps
diff options
context:
space:
mode:
authorGravatar commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2014-03-18 12:51:48 +0000
committerGravatar commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2014-03-18 12:51:48 +0000
commit92362383a4de7b0d819c88fa8b74242bb2507602 (patch)
tree4629fb56f5785e33c5fba83881ff753f118b1973 /src/device/xps
parent2077427227de9bf2627c819d82d2b951886796c8 (diff)
Remove SkCanvas matrix ops return value.
The internal SkMatrix ops can no longer fail -> we can remove the bool return value. R=bsalomon@google.com, reed@google.com, robertphillips@google.com, scroggo@google.com, fmalita@google.com Author: fmalita@chromium.org Review URL: https://codereview.chromium.org/200223008 git-svn-id: http://skia.googlecode.com/svn/trunk@13849 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/device/xps')
-rw-r--r--src/device/xps/SkXPSDevice.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/device/xps/SkXPSDevice.cpp b/src/device/xps/SkXPSDevice.cpp
index 595694cf27..05ab13a09c 100644
--- a/src/device/xps/SkXPSDevice.cpp
+++ b/src/device/xps/SkXPSDevice.cpp
@@ -1696,9 +1696,7 @@ void SkXPSDevice::drawPath(const SkDraw& d,
}
platonicPath.transform(*prePathMatrix, skeletalPath);
} else {
- if (!matrix.preConcat(*prePathMatrix)) {
- return;
- }
+ matrix.preConcat(*prePathMatrix);
}
}