From 85a7d603c81024830d30988659d47a32819bf33c Mon Sep 17 00:00:00 2001 From: reed-at-google Date: Tue, 20 Feb 2018 14:05:08 -0500 Subject: [PATCH] remote tilemode count check, so Skia can add another one (#4692) --- lib/ui/painting/gradient.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/ui/painting/gradient.h b/lib/ui/painting/gradient.h index 788552cee1f8a..94a55a57acc25 100644 --- a/lib/ui/painting/gradient.h +++ b/lib/ui/painting/gradient.h @@ -17,7 +17,8 @@ class DartLibraryNatives; namespace blink { -static_assert(SkShader::kTileModeCount == 3, "Need to update tile mode enum"); +// TODO: update this if/when Skia adds Decal mode skbug.com/7638 +static_assert(SkShader::kTileModeCount >= 3, "Need to update tile mode enum"); class CanvasGradient : public Shader { DEFINE_WRAPPERTYPEINFO();