Index: tests/SkColor4fTest.cpp |
diff --git a/tests/SkColor4fTest.cpp b/tests/SkColor4fTest.cpp |
index 67e8d37d245cce390beb33957b0b0753eefc500f..00cb3fed27c2fdd16adbcea0645cf99dfd6c1541 100644 |
--- a/tests/SkColor4fTest.cpp |
+++ b/tests/SkColor4fTest.cpp |
@@ -5,6 +5,7 @@ |
* found in the LICENSE file. |
*/ |
+#include "SkBitmapProcShader.h" |
#include "SkColor.h" |
#include "SkColorMatrixFilter.h" |
#include "SkGradientShader.h" |
@@ -153,7 +154,7 @@ DEF_TEST(Color4f_shader, reporter) { |
SkPaint paint; |
for (const auto& rec : recs) { |
- uint32_t storage[400]; |
+ uint32_t storage[kSkBlitterContextSize]; |
paint.setShader(rec.fFact()); |
// Encourage 4f context selection. At some point we may need |
// to instantiate two separate contexts for optimal 4b/4f selection. |