Index: Source/WebCore/platform/image-decoders/webp/WEBPImageDecoder.cpp |
=================================================================== |
--- Source/WebCore/platform/image-decoders/webp/WEBPImageDecoder.cpp (revision 78612) |
+++ Source/WebCore/platform/image-decoders/webp/WEBPImageDecoder.cpp (working copy) |
@@ -79,9 +79,9 @@ |
if (failed()) |
return false; |
- const size_t dataSize = m_data->buffer().size(); |
+ const size_t dataSize = m_data->size(); |
const uint8_t* dataBytes = |
- reinterpret_cast<const uint8_t*>(m_data->buffer().data()); |
+ reinterpret_cast<const uint8_t*>(m_data->data()); |
int width, height; |
if (dataSize < sizeOfHeader) |
return true; |