From 97f455a39a3317966481e99bb2a02b498d5521e5 Mon Sep 17 00:00:00 2001 From: Leon Scroggins III Date: Mon, 12 Nov 2018 14:32:55 -0500 Subject: [PATCH] Remove unused SkPath::unique() It was only supported for ANDROID_FRAMEWORK, which no longer uses it. (It looks like the last use was removed with ag/I18bfe51896672272ce7d471eaead69b651399368.) Change-Id: Ia0811a8625d6a20ae7411a7578a5358ff1cc1a37 Reviewed-on: https://skia-review.googlesource.com/c/170480 Auto-Submit: Leon Scroggins Commit-Queue: Mike Reed Reviewed-by: Mike Reed --- docs/SkPath_Reference.bmh | 7 ------- include/core/SkPath.h | 7 ------- 2 files changed, 14 deletions(-) diff --git a/docs/SkPath_Reference.bmh b/docs/SkPath_Reference.bmh index abb775831e..335283225d 100644 --- a/docs/SkPath_Reference.bmh +++ b/docs/SkPath_Reference.bmh @@ -465,13 +465,6 @@ void draw(SkCanvas* canvas) { ## -# ------------------------------------------------------------------------------ - -#Method bool unique() const -#Deprecated soon -Only valid for Android framework. -## - # ------------------------------------------------------------------------------ #Subtopic Fill_Type #Line # fill rule, normal and inverted ## diff --git a/include/core/SkPath.h b/include/core/SkPath.h index 44c666df5c..9b1e324a48 100644 --- a/include/core/SkPath.h +++ b/include/core/SkPath.h @@ -160,13 +160,6 @@ public: */ bool interpolate(const SkPath& ending, SkScalar weight, SkPath* out) const; -#ifdef SK_BUILD_FOR_ANDROID_FRAMEWORK - /** To be deprecated soon. - Only valid for Android framework. - */ - bool unique() const { return fPathRef->unique(); } -#endif - /** \enum SkPath::FillType FillType selects the rule used to fill SkPath. SkPath set to kWinding_FillType fills if the sum of contour edges is not zero, where clockwise edges add one, and