aboutsummaryrefslogtreecommitdiffhomepage
path: root/experimental/sksg/SkSGNode.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'experimental/sksg/SkSGNode.cpp')
-rw-r--r--experimental/sksg/SkSGNode.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/experimental/sksg/SkSGNode.cpp b/experimental/sksg/SkSGNode.cpp
index 13e9864147..fc4d278580 100644
--- a/experimental/sksg/SkSGNode.cpp
+++ b/experimental/sksg/SkSGNode.cpp
@@ -128,8 +128,8 @@ const SkRect& Node::revalidate(InvalidationController* ic, const SkMatrix& ctm)
}
const auto result = this->onRevalidate(ic, ctm);
- const auto selfDamage = result.fReval == Damage::kForceSelf ||
- (this->hasSelfInval() && result.fReval != Damage::kBlockSelf);
+ const auto selfDamage = result.fDamage == Damage::kForceSelf ||
+ (this->hasSelfInval() && result.fDamage != Damage::kBlockSelf);
if (selfDamage) {
// old bounds