From 19c25f18a30575cad9e654b753e92ca8a69954c0 Mon Sep 17 00:00:00 2001 From: reed Date: Sun, 15 Mar 2015 14:01:21 -0700 Subject: [PATCH] move kTileModeCount out of TileMode enum BUG=skia: TBR= Review URL: https://codereview.chromium.org/1009193002 --- include/core/SkShader.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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