diff options
-rw-r--r-- | Source/WebCore/platform/graphics/android/ImageBufferAndroid.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
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<int>& lookupTable) notImplemented(); } +size_t ImageBuffer::dataSize() const +{ + return m_size.width() * m_size.height() * 4; +} + } |