Index: src/effects/SkLightingImageFilter.cpp |
diff --git a/src/effects/SkLightingImageFilter.cpp b/src/effects/SkLightingImageFilter.cpp |
index aac54625fee1a6197f125e4dee9f95eda7b0b704..657fa1099c405757eb11f474170013a148d2174f 100644 |
--- a/src/effects/SkLightingImageFilter.cpp |
+++ b/src/effects/SkLightingImageFilter.cpp |
@@ -867,7 +867,7 @@ SkLightingImageFilter::~SkLightingImageFilter() { |
SkLightingImageFilter::SkLightingImageFilter(SkFlattenableReadBuffer& buffer) |
: INHERITED(buffer) |
{ |
- fLight = buffer.readFlattenableT<SkLight>(); |
+ fLight = buffer.readLight(); |
fSurfaceScale = buffer.readScalar(); |
} |