diff options
author | Nicolas Roard <nicolasroard@google.com> | 2012-05-12 17:12:36 -0700 |
---|---|---|
committer | Nicolas Roard <nicolasroard@google.com> | 2012-05-18 19:40:01 -0700 |
commit | 6baa213e1806af132b1f0b1170343c5ac2bf75d3 (patch) | |
tree | 69be21336fb942f1b9d8660e40c927acf5e22caf /Source/WebKit/android/jni/WebViewCore.cpp | |
parent | 8156b6674402608e0304803380ef0e5e2845588d (diff) | |
download | external_webkit-6baa213e1806af132b1f0b1170343c5ac2bf75d3.zip external_webkit-6baa213e1806af132b1f0b1170343c5ac2bf75d3.tar.gz external_webkit-6baa213e1806af132b1f0b1170343c5ac2bf75d3.tar.bz2 |
Fix memory leak and repaint issues with fixed background elements
bug:6522485 bug:6486951
Change-Id: Ia707efed9311e4352eed3ab005ec7ca93b8444e4
Diffstat (limited to 'Source/WebKit/android/jni/WebViewCore.cpp')
-rw-r--r-- | Source/WebKit/android/jni/WebViewCore.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/WebKit/android/jni/WebViewCore.cpp b/Source/WebKit/android/jni/WebViewCore.cpp index 73abb07..4e45175 100644 --- a/Source/WebKit/android/jni/WebViewCore.cpp +++ b/Source/WebKit/android/jni/WebViewCore.cpp @@ -872,6 +872,8 @@ BaseLayerAndroid* WebViewCore::createBaseLayer(GraphicsLayerAndroid* root) realBase->setSize(content->width(), content->height()); realBase->addChild(baseBackground); realBase->addChild(base); + baseBackground->unref(); + base->unref(); } else { realBase = new BaseLayerAndroid(content); base = realBase; |