Index: src/codec/SkCodec.cpp |
diff --git a/src/codec/SkCodec.cpp b/src/codec/SkCodec.cpp |
index e5f9a07f6bcce9f1f34029a95081ca1009fc0b53..3192a6f4be8ad6127d1e1ba63f21d70f976ba6ff 100644 |
--- a/src/codec/SkCodec.cpp |
+++ b/src/codec/SkCodec.cpp |
@@ -126,6 +126,18 @@ SkCodec::SkCodec(int width, int height, const SkEncodedInfo& info, SkStream* str |
, fCurrScanline(-1) |
{} |
+SkCodec::SkCodec(const SkEncodedInfo& info, const SkImageInfo& imageInfo, SkStream* stream, |
+ Origin origin) |
+ : fEncodedInfo(info) |
+ , fSrcInfo(imageInfo) |
+ , fStream(stream) |
+ , fNeedsRewind(false) |
+ , fOrigin(origin) |
+ , fDstInfo() |
+ , fOptions() |
+ , fCurrScanline(-1) |
+{} |
+ |
SkCodec::~SkCodec() {} |
bool SkCodec::rewindIfNeeded() { |