Index: src/effects/SkTileImageFilter.cpp |
diff --git a/src/effects/SkTileImageFilter.cpp b/src/effects/SkTileImageFilter.cpp |
index 8cc096cf370043b4ecbd813bb171305cef43126f..ccca4ff74caf3a75ccd7e43cb6d22246d91f9674 100644 |
--- a/src/effects/SkTileImageFilter.cpp |
+++ b/src/effects/SkTileImageFilter.cpp |
@@ -54,7 +54,8 @@ bool SkTileImageFilter::onFilterImage(Proxy* proxy, const SkBitmap& src, const S |
return true; |
} |
-SkTileImageFilter::SkTileImageFilter(SkFlattenableReadBuffer& buffer) : INHERITED(buffer) { |
+SkTileImageFilter::SkTileImageFilter(SkFlattenableReadBuffer& buffer) |
+ : INHERITED(1, buffer) { |
buffer.readRect(&fSrcRect); |
buffer.readRect(&fDstRect); |
buffer.validate(SkIsValidRect(fSrcRect) && SkIsValidRect(fDstRect)); |