Commit fde38ba9 authored by pkasting@chromium.org's avatar pkasting@chromium.org

2009-06-16 Peter Kasting <pkasting@google.com>

        Reviewed by Xan Lopez.

        https://bugs.webkit.org/show_bug.cgi?id=26447
        Fix animated GIF breakage in Cairo/wx ports.

        * platform/image-decoders/cairo/ImageDecoderCairo.cpp:
        (WebCore::RGBA32Buffer::copyBitmapData):
        (WebCore::RGBA32Buffer::operator=):
        * platform/image-decoders/wx/ImageDecoderWx.cpp:
        (WebCore::RGBA32Buffer::copyBitmapData):
        (WebCore::RGBA32Buffer::operator=):



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44733 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent ef0d8641
2009-06-16 Peter Kasting <pkasting@google.com>
Reviewed by Xan Lopez.
https://bugs.webkit.org/show_bug.cgi?id=26447
Fix animated GIF breakage in Cairo/wx ports.
* platform/image-decoders/cairo/ImageDecoderCairo.cpp:
(WebCore::RGBA32Buffer::copyBitmapData):
(WebCore::RGBA32Buffer::operator=):
* platform/image-decoders/wx/ImageDecoderWx.cpp:
(WebCore::RGBA32Buffer::copyBitmapData):
(WebCore::RGBA32Buffer::operator=):
2009-06-16 Pierre d'Herbemont <pdherbemont@apple.com>
Reviewed by John Sullivan
......
......@@ -60,6 +60,7 @@ void RGBA32Buffer::copyBitmapData(const RGBA32Buffer& other)
return;
m_bytes = other.m_bytes;
m_size = other.m_size;
setHasAlpha(other.m_hasAlpha);
}
......@@ -104,9 +105,7 @@ RGBA32Buffer& RGBA32Buffer::operator=(const RGBA32Buffer& other)
if (this == &other)
return *this;
m_bytes = other.m_bytes;
m_size = other.m_size;
setHasAlpha(other.hasAlpha());
copyBitmapData(other);
setRect(other.rect());
setStatus(other.status());
setDuration(other.duration());
......
......@@ -67,6 +67,7 @@ void RGBA32Buffer::copyBitmapData(const RGBA32Buffer& other)
return;
m_bytes = other.m_bytes;
m_size = other.m_size;
setHasAlpha(other.m_hasAlpha);
}
......@@ -152,9 +153,7 @@ RGBA32Buffer& RGBA32Buffer::operator=(const RGBA32Buffer& other)
if (this == &other)
return *this;
m_bytes = other.m_bytes;
m_size = other.m_size;
setHasAlpha(other.hasAlpha());
copyBitmapData(other);
setRect(other.rect());
setStatus(other.status());
setDuration(other.duration());
......
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