Changeset 24014 in webkit
- Timestamp:
- Jul 5, 2007 6:43:44 AM (17 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r24005 r24014 1 2007-07-05 Alp Toker <alp.toker@collabora.co.uk> 2 3 Reviewed by Mark Rowe. 4 5 http://bugs.webkit.org/show_bug.cgi?id=14513 6 Cairo animated GIF support is broken 7 8 Implement ImageSource::frameIsCompleteAtIndex() to enable animated GIFs. 9 10 * platform/graphics/cairo/ImageSourceCairo.cpp: 11 (WebCore::ImageSource::frameIsCompleteAtIndex): 12 1 13 2007-07-04 Matt Perry <mpComplete@gmail.com> 2 14 -
trunk/WebCore/platform/graphics/cairo/ImageSourceCairo.cpp
r20417 r24014 1 1 /* 2 2 * Copyright (C) 2006 Apple Computer, Inc. All rights reserved. 3 * Copyright (C) 2007 Alp Toker <alp.toker@collabora.co.uk> 3 4 * 4 5 * Redistribution and use in source and binary forms, with or without … … 164 165 } 165 166 166 bool ImageSource::frameIsCompleteAtIndex(size_t) 167 { 168 // FIXME: write me. Returning false makes the animation not run 169 return false; 167 bool ImageSource::frameIsCompleteAtIndex(size_t index) 168 { 169 if (!m_decoder) 170 return false; 171 172 RGBA32Buffer* buffer = m_decoder->frameBufferAtIndex(index); 173 return buffer && buffer->status() == RGBA32Buffer::FrameComplete; 170 174 } 171 175
Note: See TracChangeset
for help on using the changeset viewer.