Index: src/effects/SkAvoidXfermode.cpp |
diff --git a/src/effects/SkAvoidXfermode.cpp b/src/effects/SkAvoidXfermode.cpp |
index d9678f5834e6ddd5794f272d5372473a33ff2f8f..4b7e63667a236aa1d009d654fe07ddf180c2ce15 100644 |
--- a/src/effects/SkAvoidXfermode.cpp |
+++ b/src/effects/SkAvoidXfermode.cpp |
@@ -25,7 +25,7 @@ SkFlattenable* SkAvoidXfermode::CreateProc(SkReadBuffer& buffer) { |
const SkColor color = buffer.readColor(); |
const unsigned tolerance = buffer.readUInt(); |
const unsigned mode = buffer.readUInt(); |
- return Create(color, tolerance, (Mode)mode); |
+ return Make(color, tolerance, (Mode)mode).release(); |
} |
void SkAvoidXfermode::flatten(SkWriteBuffer& buffer) const { |