Index: WebCore/platform/image-decoders/qt/RGBA32BufferQt.cpp |
=================================================================== |
--- WebCore/platform/image-decoders/qt/RGBA32BufferQt.cpp (revision 69026) |
+++ WebCore/platform/image-decoders/qt/RGBA32BufferQt.cpp (working copy) |
@@ -75,15 +75,16 @@ |
m_pixmap.fill(QColor(0, 0, 0, 0)); |
} |
-void RGBA32Buffer::copyBitmapData(const RGBA32Buffer& other) |
+bool RGBA32Buffer::copyBitmapData(const RGBA32Buffer& other) |
{ |
if (this == &other) |
- return; |
+ return true; |
m_image = other.m_image; |
m_pixmap = other.m_pixmap; |
m_size = other.m_size; |
m_hasAlpha = other.m_hasAlpha; |
+ return true; |
} |
bool RGBA32Buffer::setSize(int newWidth, int newHeight) |