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

Unified Diff: src/codec/SkGifCodec.h

Issue 2447863002: Report repetition count in SkCodec (Closed)
Patch Set: Return a bool, with multiple out parameters Created 4 years, 2 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
Index: src/codec/SkGifCodec.h
diff --git a/src/codec/SkGifCodec.h b/src/codec/SkGifCodec.h
index b5f8f7ce0c48958685f96d8592e3e94be22892bc..da853e5775100275e3009aab391ebc2f8bc38cfc 100644
--- a/src/codec/SkGifCodec.h
+++ b/src/codec/SkGifCodec.h
@@ -48,7 +48,7 @@ protected:
uint64_t onGetFillValue(const SkImageInfo&) const override;
- std::vector<FrameInfo> onGetFrameInfo() override;
+ bool onGetFrameInfo(std::vector<FrameInfo>*, int*) override;
Result onStartIncrementalDecode(const SkImageInfo& /*dstInfo*/, void*, size_t,
const SkCodec::Options&, SkPMColor*, int*) override;

Powered by Google App Engine
This is Rietveld 408576698