aboutsummaryrefslogtreecommitdiffhomepage
path: root/experimental/sksg/SkSGNode.h
diff options
context:
space:
mode:
Diffstat (limited to 'experimental/sksg/SkSGNode.h')
-rw-r--r--experimental/sksg/SkSGNode.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/experimental/sksg/SkSGNode.h b/experimental/sksg/SkSGNode.h
index 58456cf387..1a7560684c 100644
--- a/experimental/sksg/SkSGNode.h
+++ b/experimental/sksg/SkSGNode.h
@@ -54,18 +54,21 @@ protected:
};
struct RevalidationResult {
SkRect fBounds;
- Damage fReval;
+ Damage fDamage;
};
virtual RevalidationResult onRevalidate(InvalidationController*, const SkMatrix& ctm) = 0;
private:
void addInvalReceiver(Node*);
void removeInvalReceiver(Node*);
+ // TODO: too friendly, find another way.
friend class Draw;
friend class EffectNode;
friend class Group;
+ friend class Matrix;
friend class Merge;
friend class Stroke;
+ friend class Transform;
template <typename Func>
void forEachInvalReceiver(Func&&) const;