Index: src/effects/SkBlurDrawLooper.cpp |
diff --git a/src/effects/SkBlurDrawLooper.cpp b/src/effects/SkBlurDrawLooper.cpp |
index b3094d6c45120734cb7d9ce7c5fe95080e81fc86..fc9e47b0b4fa9a2c563af6dfdc11ae74009f0959 100644 |
--- a/src/effects/SkBlurDrawLooper.cpp |
+++ b/src/effects/SkBlurDrawLooper.cpp |
@@ -61,6 +61,19 @@ |
this->initEffects(); |
} |
+ |
+#ifdef SK_SUPPORT_LEGACY_DEEPFLATTENING |
+SkBlurDrawLooper::SkBlurDrawLooper(SkReadBuffer& buffer) : INHERITED(buffer) { |
+ |
+ fSigma = buffer.readScalar(); |
+ fDx = buffer.readScalar(); |
+ fDy = buffer.readScalar(); |
+ fBlurColor = buffer.readColor(); |
+ fBlurFlags = buffer.readUInt() & kAll_BlurFlag; |
+ |
+ this->initEffects(); |
+} |
+#endif |
SkFlattenable* SkBlurDrawLooper::CreateProc(SkReadBuffer& buffer) { |
const SkColor color = buffer.readColor(); |