aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/codec/SkScanlineDecoder.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/codec/SkScanlineDecoder.h')
-rw-r--r--include/codec/SkScanlineDecoder.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/codec/SkScanlineDecoder.h b/include/codec/SkScanlineDecoder.h
index c047223d7c..d7f73dda56 100644
--- a/include/codec/SkScanlineDecoder.h
+++ b/include/codec/SkScanlineDecoder.h
@@ -77,6 +77,8 @@ protected:
virtual bool onReallyHasAlpha() const { return false; }
+ const SkImageInfo& dstInfo() const { return fDstInfo; }
+
private:
const SkImageInfo fDstInfo;
int fCurrScanline;