aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkShader.h
diff options
context:
space:
mode:
authorGravatar reed <reed@chromium.org>2015-03-15 14:01:21 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-03-15 14:01:21 -0700
commit19c25f18a30575cad9e654b753e92ca8a69954c0 (patch)
treea9aaaa737717a025291f6d06af672d5f7754c27d /include/core/SkShader.h
parent8c6a9778dccc8a717175d3df1ca3105663573df0 (diff)
move kTileModeCount out of TileMode enum
BUG=skia: TBR= Review URL: https://codereview.chromium.org/1009193002
Diffstat (limited to 'include/core/SkShader.h')
-rw-r--r--include/core/SkShader.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/core/SkShader.h b/include/core/SkShader.h
index bf9fca557f..5efd46d595 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