summaryrefslogtreecommitdiffstats
path: root/Source/WebKit/android/jni/WebViewCore.cpp
diff options
context:
space:
mode:
authorNicolas Roard <nicolasroard@google.com>2012-05-03 14:39:35 -0700
committerNicolas Roard <nicolasroard@google.com>2012-05-03 14:57:33 -0700
commit44fc37bf2a57490f319e5ddd4f692abf235cb9ca (patch)
tree2b7db852a98ff2c1f2fca046b532d455061f93f1 /Source/WebKit/android/jni/WebViewCore.cpp
parente859a34171f2a36877d95197d118d962078f8aa0 (diff)
downloadexternal_webkit-44fc37bf2a57490f319e5ddd4f692abf235cb9ca.zip
external_webkit-44fc37bf2a57490f319e5ddd4f692abf235cb9ca.tar.gz
external_webkit-44fc37bf2a57490f319e5ddd4f692abf235cb9ca.tar.bz2
Fixed single-surface rendering with fixed-background elements
In single-surface rendering, we did not paint the surface collection correctly if there was more than one child on the base surface (which is the case with fixed-background elements). Change-Id: I6e8d34630060414159b5f13cd302c1dc2165a048
Diffstat (limited to 'Source/WebKit/android/jni/WebViewCore.cpp')
-rw-r--r--Source/WebKit/android/jni/WebViewCore.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/Source/WebKit/android/jni/WebViewCore.cpp b/Source/WebKit/android/jni/WebViewCore.cpp
index 4e6ffc6..34740a8 100644
--- a/Source/WebKit/android/jni/WebViewCore.cpp
+++ b/Source/WebKit/android/jni/WebViewCore.cpp
@@ -824,7 +824,6 @@ BaseLayerAndroid* WebViewCore::createBaseLayer()
FixedBackgroundBaseLayerAndroid* baseBackground =
new FixedBackgroundBaseLayerAndroid(content);
- // TODO -- check we don't have the assumption that baselayer has only one child
realBase = new BaseLayerAndroid(0);
realBase->setSize(content->width(), content->height());
realBase->addChild(baseBackground);