Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(256)

Unified Diff: Source/WebCore/platform/image-decoders/webp/WEBPImageDecoder.cpp

Issue 6526023: Merge 78548 - 2011-02-15 Gavin Peters <gavinp@chromium.org>... (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/648/
Patch Set: Created 9 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
« Source/WebCore/ChangeLog ('K') | « Source/WebCore/platform/image-decoders/jpeg/JPEGImageDecoder.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698