Index: third_party/gif/SkGifImageReader.h |
diff --git a/third_party/gif/SkGifImageReader.h b/third_party/gif/SkGifImageReader.h |
index 5dc0e4f6dde776af41c4303752dfd7c3850542ed..3a73288f2909961a8a9543b61c5012c294b99838 100644 |
--- a/third_party/gif/SkGifImageReader.h |
+++ b/third_party/gif/SkGifImageReader.h |
@@ -61,7 +61,6 @@ typedef SkTArray<unsigned char, true> GIFRow; |
#define MAX_COLORS 256 |
#define BYTES_PER_COLORMAP_ENTRY 3 |
-constexpr int cLoopCountNotSeen = -2; |
constexpr size_t kNotFound = static_cast<size_t>(-1); |
// List of possible parsing states. |
@@ -285,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) |