summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Source/WebCore/platform/graphics/android/GraphicsLayerAndroid.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/WebCore/platform/graphics/android/GraphicsLayerAndroid.cpp b/Source/WebCore/platform/graphics/android/GraphicsLayerAndroid.cpp
index 25441f4..7f4352b 100644
--- a/Source/WebCore/platform/graphics/android/GraphicsLayerAndroid.cpp
+++ b/Source/WebCore/platform/graphics/android/GraphicsLayerAndroid.cpp
@@ -847,7 +847,7 @@ bool GraphicsLayerAndroid::paintContext(LayerAndroid* layer,
// we can't do that because of transparency -- for now, we just create
// a new picture every time.
WebCore::PicturePile picture;
- picture.setSize(IntSize(m_size.width(), m_size.height()));
+ picture.setSize(IntSize(rect.width(), rect.height()));
// TODO: add content checks (text, opacity, etc.)
picture.updatePicturesIfNeeded(this);