Index: src/core/SkPathPriv.h |
diff --git a/src/core/SkPathPriv.h b/src/core/SkPathPriv.h |
index 934c730660427b6088a1f9681d2cee803c3dc096..51a1a8009479cd104680e7a80a85e075210ba0f6 100644 |
--- a/src/core/SkPathPriv.h |
+++ b/src/core/SkPathPriv.h |
@@ -59,6 +59,10 @@ public: |
int count = path.countVerbs(); |
return count >= 1 && path.fPathRef->verbs()[~(count - 1)] == SkPath::Verb::kClose_Verb; |
} |
+ |
+ static void AddGenIDChangeListener(const SkPath& path, SkPathRef::GenIDChangeListener* listener) { |
+ path.fPathRef->addGenIDChangeListener(listener); |
+ } |
}; |
#endif |