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

Unified Diff: src/codec/SkGifInterlaceIter.cpp

Issue 1305123002: Scanline decoding for gifs (Closed) Base URL: https://skia.googlesource.com/skia.git@real-bmp-scan
Patch Set: Created 5 years, 4 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/SkGifInterlaceIter.cpp
diff --git a/src/codec/SkGifInterlaceIter.cpp b/src/codec/SkGifInterlaceIter.cpp
index 268a142e8678b35e71573c9b58199c87bcb873ba..a27d14bf1a22ee948caf070a881815ae63994adf 100644
--- a/src/codec/SkGifInterlaceIter.cpp
+++ b/src/codec/SkGifInterlaceIter.cpp
@@ -13,7 +13,6 @@ static const uint8_t kDeltaInterlaceYValues[] = { 8, 8, 4, 2 };
SkGifInterlaceIter::SkGifInterlaceIter(int height) : fHeight(height) {
fStartYPtr = kStartingInterlaceYValues;
fDeltaYPtr = kDeltaInterlaceYValues;
-
fCurrY = *fStartYPtr++;
fDeltaY = *fDeltaYPtr++;
}

Powered by Google App Engine
This is Rietveld 408576698