Commit b95e45c0 authored by bfulgham@webkit.org's avatar bfulgham@webkit.org

Unreviewed build fix after r53411 on WinCairo.

* platform/image-decoders/gif/GIFImageDecoder.cpp:
(WebCore::GIFImageDecoder::frameCount):



git-svn-id: svn://svn.chromium.org/blink/trunk@54032 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent 015b24f1
2010-01-28 Brent Fulgham <bfulgham@webkit.org>
Unreviewed build fix after r53411 on WinCairo.
* platform/image-decoders/gif/GIFImageDecoder.cpp:
(WebCore::GIFImageDecoder::frameCount):
2010-01-28 Nayan Kumar K <nayankk@gmail.com> 2010-01-28 Nayan Kumar K <nayankk@gmail.com>
Reviewed by Laszlo Gombos. Reviewed by Laszlo Gombos.
...@@ -81,7 +81,7 @@ size_t GIFImageDecoder::frameCount() ...@@ -81,7 +81,7 @@ size_t GIFImageDecoder::frameCount()
// This function may fail, but we want to keep any partial data it may // This function may fail, but we want to keep any partial data it may
// have decoded, so don't mark it is invalid. If there is an overflow // have decoded, so don't mark it is invalid. If there is an overflow
// or some serious error, m_failed will have gotten set for us. // or some serious error, m_failed will have gotten set for us.
reader.read((const unsigned char*)m_data->data(), m_data->size(), GIFFrameCountQuery, -1); reader.read((const unsigned char*)m_data->data(), m_data->size(), GIFFrameCountQuery, static_cast<unsigned>(-1));
m_frameCountValid = true; m_frameCountValid = true;
m_frameBufferCache.resize(reader.images_count); m_frameBufferCache.resize(reader.images_count);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment