Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(12)

Unified Diff: include/codec/SkCodec.h

Issue 1472933002: Make SkAndroidCodec support ico (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: include/codec/SkCodec.h
diff --git a/include/codec/SkCodec.h b/include/codec/SkCodec.h
index dffab6b3779207aeba99084810afb27d8416a097..17ebb23a33c4b1300ba1497451a0ce49902e4401 100644
--- a/include/codec/SkCodec.h
+++ b/include/codec/SkCodec.h
@@ -521,6 +521,8 @@ protected:
virtual int onOutputScanline(int inputScanline) const;
+ int currScanline() const { return fCurrScanline; }
+
private:
const SkImageInfo fSrcInfo;
SkAutoTDelete<SkStream> fStream;
@@ -592,5 +594,6 @@ private:
virtual SkSampler* getSampler(bool /*createIfNecessary*/) { return nullptr; }
friend class SkSampledCodec;
+ friend class SkIcoCodec;
msarett 2015/11/24 22:43:35 SkIcoCodec has to call fCodec->getSampler().
};
#endif // SkCodec_DEFINED
« no previous file with comments | « dm/DM.cpp ('k') | src/codec/SkAndroidCodec.cpp » ('j') | src/codec/SkBmpStandardCodec.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698