Index: gm/imagefiltersgraph.cpp |
diff --git a/gm/imagefiltersgraph.cpp b/gm/imagefiltersgraph.cpp |
index f49d38218c261160092f371f9e9a79993c2cdf74..e7bcf707c38ff12a28434fa38366379fb37ea555 100644 |
--- a/gm/imagefiltersgraph.cpp |
+++ b/gm/imagefiltersgraph.cpp |
@@ -32,7 +32,8 @@ |
public: |
Registrar() { |
SkFlattenable::Register("SimpleOffsetFilter", |
- SimpleOffsetFilter::CreateProc); |
+ SimpleOffsetFilter::CreateProc, |
+ SimpleOffsetFilter::GetFlattenableType()); |
} |
}; |
static sk_sp<SkImageFilter> Make(SkScalar dx, SkScalar dy, sk_sp<SkImageFilter> input) { |