Index: src/effects/SkDisplacementMapEffect.cpp |
diff --git a/src/effects/SkDisplacementMapEffect.cpp b/src/effects/SkDisplacementMapEffect.cpp |
index ec75fd0604875c5255b0f0c27ca72d05db7eec9b..d054e58e51f2a416730fd3bafb09d0c0e1a2db25 100644 |
--- a/src/effects/SkDisplacementMapEffect.cpp |
+++ b/src/effects/SkDisplacementMapEffect.cpp |
@@ -200,7 +200,8 @@ SkFlattenable* SkDisplacementMapEffect::CreateProc(SkReadBuffer& buffer) { |
ChannelSelectorType xsel = (ChannelSelectorType)buffer.readInt(); |
ChannelSelectorType ysel = (ChannelSelectorType)buffer.readInt(); |
SkScalar scale = buffer.readScalar(); |
- return Create(xsel, ysel, scale, common.getInput(0), common.getInput(1), &common.cropRect()); |
+ return Create(xsel, ysel, scale, |
+ common.getInput(0).get(), common.getInput(1).get(), &common.cropRect()); |
} |
void SkDisplacementMapEffect::flatten(SkWriteBuffer& buffer) const { |