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

Unified Diff: include/core/SkPaint.h

Issue 677453002: Remove android specific genID from SkPaint. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 2 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/SkPaint.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkPaint.h
diff --git a/include/core/SkPaint.h b/include/core/SkPaint.h
index 9f477d867b152f495dd98bad2438ac01abaf348f..464c6b24704da00fcf7eeedc0bbd6b16e5fe7d84 100644
--- a/include/core/SkPaint.h
+++ b/include/core/SkPaint.h
@@ -921,11 +921,6 @@ public:
void getPosTextPath(const void* text, size_t length,
const SkPoint pos[], SkPath* path) const;
-#ifdef SK_BUILD_FOR_ANDROID
- uint32_t getGenerationID() const;
- void setGenerationID(uint32_t generationID);
-#endif
-
// returns true if the paint's settings (e.g. xfermode + alpha) resolve to
// mean that we need not draw at all (e.g. SrcOver + 0-alpha)
bool nothingToDraw() const;
@@ -1109,12 +1104,6 @@ private:
friend class GrGLPathRendering;
friend class SkTextToPathIter;
friend class SkCanonicalizePaint;
-
-#ifdef SK_BUILD_FOR_ANDROID
- // In order for the == operator to work properly this must be the last field
- // in the struct so that we can do a memcmp to this field's offset.
- uint32_t fGenerationID;
-#endif
};
#endif
« no previous file with comments | « no previous file | src/core/SkPaint.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698