Index: src/effects/SkDisplacementMapEffect.cpp |
diff --git a/src/effects/SkDisplacementMapEffect.cpp b/src/effects/SkDisplacementMapEffect.cpp |
index 15ac62737214aeb4c48717526a6ca9ddd1adaa80..b384c25e063633df38777d6e0c7577b4ccd192f4 100644 |
--- a/src/effects/SkDisplacementMapEffect.cpp |
+++ b/src/effects/SkDisplacementMapEffect.cpp |
@@ -161,7 +161,7 @@ SkDisplacementMapEffect::~SkDisplacementMapEffect() { |
} |
SkDisplacementMapEffect::SkDisplacementMapEffect(SkFlattenableReadBuffer& buffer) |
- : INHERITED(buffer) |
+ : INHERITED(2, buffer) |
{ |
fXChannelSelector = (SkDisplacementMapEffect::ChannelSelectorType) buffer.readInt(); |
fYChannelSelector = (SkDisplacementMapEffect::ChannelSelectorType) buffer.readInt(); |