summaryrefslogtreecommitdiffstats
path: root/Source/WebCore
diff options
context:
space:
mode:
authorChris Craik <ccraik@google.com>2012-08-09 18:12:20 -0700
committerChris Craik <ccraik@google.com>2012-08-09 18:12:20 -0700
commit3417c786a7a3f3231796bbab9ccce4c66535d142 (patch)
tree6337e2d9e123ad2b73ad0ef6e2e6566c9f80d27b /Source/WebCore
parentebebc5e52683c447aef50606d0418d8de629d60a (diff)
downloadexternal_webkit-3417c786a7a3f3231796bbab9ccce4c66535d142.zip
external_webkit-3417c786a7a3f3231796bbab9ccce4c66535d142.tar.gz
external_webkit-3417c786a7a3f3231796bbab9ccce4c66535d142.tar.bz2
Paint with requested size instead of layer size
bug:6925835 Change-Id: Idaf37156cd0c42f59151dc2dca95acfef542d312
Diffstat (limited to 'Source/WebCore')
-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);