diff options
Diffstat (limited to 'experimental/sksg/effects/SkSGTransform.cpp')
-rw-r--r-- | experimental/sksg/effects/SkSGTransform.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/experimental/sksg/effects/SkSGTransform.cpp b/experimental/sksg/effects/SkSGTransform.cpp index ca4c5cd162..dc31623db2 100644 --- a/experimental/sksg/effects/SkSGTransform.cpp +++ b/experimental/sksg/effects/SkSGTransform.cpp @@ -21,13 +21,13 @@ void Transform::onRender(SkCanvas* canvas) const { this->INHERITED::onRender(canvas); } -SkRect Transform::onRevalidate(InvalidationController* ic, const SkMatrix& ctm) { +Node::RevalidationResult Transform::onRevalidate(InvalidationController* ic, const SkMatrix& ctm) { SkASSERT(this->hasInval()); - auto bounds = this->INHERITED::onRevalidate(ic, SkMatrix::Concat(ctm, fMatrix)); - fMatrix.mapRect(&bounds); + auto result = this->INHERITED::onRevalidate(ic, SkMatrix::Concat(ctm, fMatrix)); + fMatrix.mapRect(&result.fBounds); - return bounds; + return result; } } // namespace sksg |