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

Unified Diff: third_party/gif/SkGifImageReader.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: third_party/gif/SkGifImageReader.h
diff --git a/third_party/gif/SkGifImageReader.h b/third_party/gif/SkGifImageReader.h
index 09c562255062f04d8efcc112d4fc7c2f2a037ad2..6d386c412727f6dbd74ea79a773fdfc283df745b 100644
--- a/third_party/gif/SkGifImageReader.h
+++ b/third_party/gif/SkGifImageReader.h
@@ -284,7 +284,7 @@ public:
, m_version(0)
, m_screenWidth(0)
, m_screenHeight(0)
- , m_loopCount(cLoopCountNotSeen)
+ , m_loopCount(0)
, m_streamBuffer(stream)
, m_parseCompleted(false)
, m_firstFrameHasAlpha(false)
@@ -292,8 +292,6 @@ public:
{
}
- static constexpr int cLoopCountNotSeen = -2;
-
~SkGifImageReader()
{
}

Powered by Google App Engine
This is Rietveld 408576698