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

Unified Diff: src/codec/SkIcoCodec.h

Issue 2026383002: Revert of Make SkPngCodec decode progressively. (Closed) Base URL: https://skia.googlesource.com/skia.git@foil
Patch Set: Created 4 years, 7 months 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
« no previous file with comments | « src/codec/SkGifCodec.cpp ('k') | src/codec/SkIcoCodec.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/codec/SkIcoCodec.h
diff --git a/src/codec/SkIcoCodec.h b/src/codec/SkIcoCodec.h
index a227d8c67100691dc00ec78ac0121e33c1d017d1..8c56aee4c6ca135da33d0aa7824db1fab863bd84 100644
--- a/src/codec/SkIcoCodec.h
+++ b/src/codec/SkIcoCodec.h
@@ -54,11 +54,6 @@
bool onSkipScanlines(int count) override;
- Result onStartIncrementalDecode(const SkImageInfo& dstInfo, void* pixels, size_t rowBytes,
- const SkCodec::Options&, SkPMColor*, int*) override;
-
- Result onIncrementalDecode(int* rowsDecoded) override;
-
SkSampler* getSampler(bool createIfNecessary) override;
/*
@@ -89,13 +84,5 @@
// SkAutoTDelete. It will be deleted by the destructor of fEmbeddedCodecs.
SkCodec* fCurrScanlineCodec;
- // Only used by incremental decoder. onStartIncrementalDecode() will set
- // fCurrIncrementalCodec to one of the fEmbeddedCodecs, if it can find a
- // codec of the appropriate size. We will use fCurrIncrementalCodec for
- // subsequent calls to incrementalDecode().
- // fCurrIncrementalCodec is owned by this class, but should not be an
- // SkAutoTDelete. It will be deleted by the destructor of fEmbeddedCodecs.
- SkCodec* fCurrIncrementalCodec;
-
typedef SkCodec INHERITED;
};
« no previous file with comments | « src/codec/SkGifCodec.cpp ('k') | src/codec/SkIcoCodec.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698