Index: src/codec/SkCodec.cpp |
diff --git a/src/codec/SkCodec.cpp b/src/codec/SkCodec.cpp |
index fc57e94f89256df7f2d602817e582913745e1e85..7bc831a6ac52f027265a556d29a1b8e3acce3a14 100644 |
--- a/src/codec/SkCodec.cpp |
+++ b/src/codec/SkCodec.cpp |
@@ -114,11 +114,13 @@ SkCodec* SkCodec::NewFromData(SkData* data, SkPngChunkReader* reader) { |
return NewFromStream(new SkMemoryStream(data), reader); |
} |
-SkCodec::SkCodec(const SkImageInfo& info, SkStream* stream, sk_sp<SkColorSpace> colorSpace) |
+SkCodec::SkCodec(const SkImageInfo& info, SkStream* stream, sk_sp<SkColorSpace> colorSpace, |
+ Origin origin) |
: fSrcInfo(info) |
, fStream(stream) |
, fNeedsRewind(false) |
, fColorSpace(colorSpace) |
+ , fOrigin(origin) |
, fDstInfo() |
, fOptions() |
, fCurrScanline(-1) |