From e4427b844b712104108d886d50294f7d3a052a32 Mon Sep 17 00:00:00 2001 From: Ben Murdoch Date: Fri, 20 May 2011 16:53:45 +0100 Subject: Merge WebKit at r76408: Fix ImageBufferAndroid. Implement missing dataSize function introduced in http://trac.webkit.org/changeset/76371 (JSC only) Change-Id: Ie9a714cdb41894ceb2d928b6e42ed6a41d8d04a7 --- Source/WebCore/platform/graphics/android/ImageBufferAndroid.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Source/WebCore/platform/graphics/android/ImageBufferAndroid.cpp b/Source/WebCore/platform/graphics/android/ImageBufferAndroid.cpp index 3ac0cba..0a36051 100644 --- a/Source/WebCore/platform/graphics/android/ImageBufferAndroid.cpp +++ b/Source/WebCore/platform/graphics/android/ImageBufferAndroid.cpp @@ -248,4 +248,9 @@ void ImageBuffer::platformTransformColorSpace(const Vector& lookupTable) notImplemented(); } +size_t ImageBuffer::dataSize() const +{ + return m_size.width() * m_size.height() * 4; +} + } -- cgit v1.1