Index: src/effects/SkPixelXorXfermode.cpp |
diff --git a/src/effects/SkPixelXorXfermode.cpp b/src/effects/SkPixelXorXfermode.cpp |
index c69fe0933b29de5c7dcb2b820863d4bd325a39d5..4ad3f1bd766a91c13679afe5d584967cd84a238e 100644 |
--- a/src/effects/SkPixelXorXfermode.cpp |
+++ b/src/effects/SkPixelXorXfermode.cpp |
@@ -27,7 +27,7 @@ void SkPixelXorXfermode::flatten(SkWriteBuffer& wb) const { |
} |
SkFlattenable* SkPixelXorXfermode::CreateProc(SkReadBuffer& buffer) { |
- return Create(buffer.readColor()); |
+ return Make(buffer.readColor()).release(); |
} |
#ifndef SK_IGNORE_TO_STRING |