Permalink
Browse files

Fix merge error to properly delete GIF decoded images

  • Loading branch information...
magomez committed Oct 16, 2017
1 parent 3dc4b63 commit 31ea481d3ef42061bd78bbabb62e40b9e6eff822
Showing with 1 addition and 1 deletion.
  1. +1 −1 Source/WebCore/platform/image-decoders/gif/GIFImageDecoder.cpp
@@ -204,7 +204,7 @@ void GIFImageDecoder::clearFrameBufferCache(size_t clearBeforeFrame)
// Now |i| holds the last frame we need to preserve; clear prior frames.
for (Vector<ImageFrame>::iterator j(m_frameBufferCache.begin()); j != i; ++j) {
ASSERT(!j->isPartial());
if (j->isInvalid())
if (!j->isInvalid())
j->clear();
}
}

0 comments on commit 31ea481

Please sign in to comment.