Index: gm/SkLinearBitmapPipelineGM.cpp |
diff --git a/gm/SkLinearBitmapPipelineGM.cpp b/gm/SkLinearBitmapPipelineGM.cpp |
index 1bba1c56f92371b3f66ee821c51611b28ecc5943..845e33979f5da0eba8c6589b980c9454d63871f5 100644 |
--- a/gm/SkLinearBitmapPipelineGM.cpp |
+++ b/gm/SkLinearBitmapPipelineGM.cpp |
@@ -15,6 +15,7 @@ |
#include "SkXfermode.h" |
#include "SkPM4fPriv.h" |
#include "SkShader.h" |
+#include "SkBitmapProcShader.h" |
static void fill_in_bits(SkBitmap& bm, SkIRect ir, SkColor c, bool premul) { |
bm.allocN32Pixels(ir.width(), ir.height()); |
@@ -59,7 +60,7 @@ static void draw_rect_orig(SkCanvas* canvas, const SkRect& r, SkColor c, const S |
sk_sp<SkImage> image(SkImage::MakeRasterCopy(SkPixmap(info, pmsrc.addr32(), pmsrc.rowBytes()))); |
SkPaint paint; |
- int32_t storage[400]; |
+ int32_t storage[kSkBlitterContextSize]; |
sk_sp<SkShader> shader = image->makeShader(SkShader::kRepeat_TileMode, |
SkShader::kRepeat_TileMode); |