Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(13)

Unified Diff: include/core/SkPath.h

Issue 913413004: Expose SkPathRef::unique through SkPath. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkPath.h
diff --git a/include/core/SkPath.h b/include/core/SkPath.h
index c4606cf9eae4beaaadcf69fe6001236d14cca359..cc6c38d5357ba7c510eaac5424d62071a8ed593b 100644
--- a/include/core/SkPath.h
+++ b/include/core/SkPath.h
@@ -42,6 +42,10 @@ public:
return !(a == b);
}
+ /** May return true if the caller is the only owner.
reed1 2015/02/12 19:47:48 "May" ? That is mysteriously noncommittal. /** Re
+ */
+ bool unique() const { return fPathRef->unique(); }
+
enum FillType {
/** Specifies that "inside" is computed by a non-zero sum of signed
edge crossings
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698