diff options
Diffstat (limited to 'src/codec/SkRawCodec.cpp')
-rw-r--r-- | src/codec/SkRawCodec.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/codec/SkRawCodec.cpp b/src/codec/SkRawCodec.cpp index 9eea78cf4b..e3f3557ae4 100644 --- a/src/codec/SkRawCodec.cpp +++ b/src/codec/SkRawCodec.cpp @@ -700,8 +700,8 @@ SkCodec::Result SkRawCodec::onGetPixels(const SkImageInfo& dstInfo, void* dst, xformBuffer.reset(new uint32_t[dstInfo.width()]); } - std::unique_ptr<SkSwizzler> swizzler(SkSwizzler::CreateSwizzler( - this->getEncodedInfo(), nullptr, swizzlerInfo, options)); + std::unique_ptr<SkSwizzler> swizzler = SkSwizzler::Make( + this->getEncodedInfo(), nullptr, swizzlerInfo, options); SkASSERT(swizzler); const int width = dstInfo.width(); |