Index: gm/imagefiltersgraph.cpp |
diff --git a/gm/imagefiltersgraph.cpp b/gm/imagefiltersgraph.cpp |
index 4e46869a4ec48fe654cd1f1bab8f2ce13e35c5cd..16e22302fb6aef411d3a2698eedfa517dad88e3e 100644 |
--- a/gm/imagefiltersgraph.cpp |
+++ b/gm/imagefiltersgraph.cpp |
@@ -58,7 +58,7 @@ public: |
protected: |
explicit SimpleOffsetFilter(SkFlattenableReadBuffer& buffer) |
- : SkImageFilter(buffer) { |
+ : SkImageFilter(1, buffer) { |
fDX = buffer.readScalar(); |
fDY = buffer.readScalar(); |
} |