remote tilemode count check, so Skia can add another one (flutter/engine#4692)

This commit is contained in:
reed-at-google 2018-02-20 14:05:08 -05:00 committed by Brian Osman
parent db4e089e22
commit 5d26fdffeb

View File

@ -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();