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

Unified Diff: include/core/SkPath.h

Issue 926693002: Remove android specific srcPath from SkPath (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: remove test case 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 | src/core/SkPath.cpp » ('j') | 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 61b1ce474abd466058b301e33a1dd0385672adf6..a0d60599f144fa77a50fd95e5236d13ab20f93a9 100644
--- a/include/core/SkPath.h
+++ b/include/core/SkPath.h
@@ -953,10 +953,8 @@ public:
*/
uint32_t getGenerationID() const;
-#ifdef SK_BUILD_FOR_ANDROID
+#ifdef SK_BUILD_FOR_ANDROID_FRAMEWORK
static const int kPathRefGenIDBitCnt = 30; // leave room for the fill type (skbug.com/1762)
- const SkPath* getSourcePath() const;
- void setSourcePath(const SkPath* path);
#else
static const int kPathRefGenIDBitCnt = 32;
#endif
@@ -982,9 +980,6 @@ private:
mutable uint8_t fConvexity;
mutable uint8_t fDirection;
mutable SkBool8 fIsVolatile;
-#ifdef SK_BUILD_FOR_ANDROID
- const SkPath* fSourcePath;
-#endif
/** Resets all fields other than fPathRef to their initial 'empty' values.
* Assumes the caller has already emptied fPathRef.
« no previous file with comments | « no previous file | src/core/SkPath.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698