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/SkShader.h

Issue 1009193002: move kTileModeCount out of TileMode enum (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 9 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/SkShader.h
diff --git a/include/core/SkShader.h b/include/core/SkShader.h
index bf9fca557f7b160b9d4d125d7d1ae71a73349916..5efd46d595e7a988898998f565f8c3a6911716ef 100644
--- a/include/core/SkShader.h
+++ b/include/core/SkShader.h
@@ -65,8 +65,10 @@ public:
/** only draw within the original domain, return 0 everywhere else */
kDecal_TileMode,
#endif
+ };
- kTileModeCount
+ enum {
+ kTileModeCount = kMirror_TileMode + 1
};
// override these in your subclass
« 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