Index: src/pdf/SkPDFDevice.cpp |
diff --git a/src/pdf/SkPDFDevice.cpp b/src/pdf/SkPDFDevice.cpp |
index bd2631130643e20bed89e7062cc1d9961b2f0a99..ce732b6e2ef723cb0af33517936e70e32e16431e 100644 |
--- a/src/pdf/SkPDFDevice.cpp |
+++ b/src/pdf/SkPDFDevice.cpp |
@@ -771,10 +771,8 @@ void SkPDFDevice::internalDrawPaint(const SkPaint& paint, |
} |
SkRect bbox = SkRect::MakeWH(SkIntToScalar(this->width()), |
SkIntToScalar(this->height())); |
- SkMatrix totalTransform = fInitialTransform; |
- totalTransform.preConcat(contentEntry->fState.fMatrix); |
SkMatrix inverse; |
- if (!totalTransform.invert(&inverse)) { |
+ if (!contentEntry->fState.fMatrix.invert(&inverse)) { |
return; |
} |
inverse.mapRect(&bbox); |