Changeset 50413 in webkit


Ignore:
Timestamp:
Nov 2, 2009 9:53:34 AM (14 years ago)
Author:
eric@webkit.org
Message:

2009-11-02 Kai Koehne <kai.koehne@nokia.com>

Reviewed by Holger Freyther.

Remove implementation of ImageDecocerQt::clearFrameBufferCache.
The implementation was buggy, and will visually break repeating
animations anyway.

https://bugs.webkit.org/show_bug.cgi?id=31009

  • platform/graphics/qt/ImageDecoderQt.cpp: (WebCore::ImageDecoderQt::clearFrameBufferCache):
Location:
trunk/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r50412 r50413  
     12009-11-02  Kai Koehne  <kai.koehne@nokia.com>
     2
     3        Reviewed by Holger Freyther.
     4
     5        Remove implementation of ImageDecocerQt::clearFrameBufferCache.
     6        The implementation was buggy, and will visually break repeating
     7        animations anyway.
     8
     9        https://bugs.webkit.org/show_bug.cgi?id=31009
     10
     11        * platform/graphics/qt/ImageDecoderQt.cpp:
     12        (WebCore::ImageDecoderQt::clearFrameBufferCache):
     13
    1142009-11-02  Joanmarie Diggs  <joanmarie.diggs@gmail.com>
    215
  • trunk/WebCore/platform/graphics/qt/ImageDecoderQt.cpp

    r49559 r50413  
    146146}
    147147
    148 void ImageDecoderQt::clearFrameBufferCache(size_t index)
    149 {
    150     // Currently QImageReader will be asked to read everything. This
    151     // might change when we read gif images on demand. For now we
    152     // can have a rather simple implementation.
    153     if (index > m_frameBufferCache.size())
    154         return;
    155 
    156     for (size_t i = 0; i < index; ++index)
    157         m_frameBufferCache[index].clear();
     148void ImageDecoderQt::clearFrameBufferCache(size_t /*index*/)
     149{
    158150}
    159151
Note: See TracChangeset for help on using the changeset viewer.