Index: include/core/SkPath.h |
diff --git a/include/core/SkPath.h b/include/core/SkPath.h |
index c4606cf9eae4beaaadcf69fe6001236d14cca359..61b1ce474abd466058b301e33a1dd0385672adf6 100644 |
--- a/include/core/SkPath.h |
+++ b/include/core/SkPath.h |
@@ -42,6 +42,11 @@ public: |
return !(a == b); |
} |
+#ifdef SK_BUILD_FOR_ANDROID_FRAMEWORK |
+ /** Returns true if the caller is the only owner of the underlying path data */ |
+ bool unique() const { return fPathRef->unique(); } |
+#endif |
+ |
enum FillType { |
/** Specifies that "inside" is computed by a non-zero sum of signed |
edge crossings |