Index: gm/imagefiltersgraph.cpp |
diff --git a/gm/imagefiltersgraph.cpp b/gm/imagefiltersgraph.cpp |
index ec6559ffa3dcc8125a38992f155e756143d86918..af3ebb7bc15efeecc755e904dcb41fc2e8c1a0a9 100644 |
--- a/gm/imagefiltersgraph.cpp |
+++ b/gm/imagefiltersgraph.cpp |
@@ -71,7 +71,7 @@ protected: |
private: |
SimpleOffsetFilter(SkScalar dx, SkScalar dy, SkImageFilter* input) |
- : SkImageFilter(input), fDX(dx), fDY(dy) {} |
+ : SkImageFilter(1, &input), fDX(dx), fDY(dy) {} |
SkScalar fDX, fDY; |
}; |