Index: src/codec/SkCodec.cpp |
diff --git a/src/codec/SkCodec.cpp b/src/codec/SkCodec.cpp |
index 3da7f5fb07bd9f6381417ea904fb67c77a5d69a0..e5f9a07f6bcce9f1f34029a95081ca1009fc0b53 100644 |
--- a/src/codec/SkCodec.cpp |
+++ b/src/codec/SkCodec.cpp |
@@ -117,10 +117,9 @@ SkCodec* SkCodec::NewFromData(SkData* data, SkPngChunkReader* reader) { |
SkCodec::SkCodec(int width, int height, const SkEncodedInfo& info, SkStream* stream, |
sk_sp<SkColorSpace> colorSpace, Origin origin) |
: fEncodedInfo(info) |
- , fSrcInfo(info.makeImageInfo(width, height, colorSpace)) |
+ , fSrcInfo(info.makeImageInfo(width, height, std::move(colorSpace))) |
, fStream(stream) |
, fNeedsRewind(false) |
- , fColorSpace(std::move(colorSpace)) |
, fOrigin(origin) |
, fDstInfo() |
, fOptions() |