diff options
author | Nicolas Roard <nicolasroard@google.com> | 2012-05-21 14:29:15 -0700 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2012-05-21 14:29:15 -0700 |
commit | 6d62e2856c7c40b506685d64868333fd39921283 (patch) | |
tree | b1473924464401a97e972f3040598290861657d8 /Source/WebKit/android | |
parent | 8ac715190a8e08ce8fec87fb3a151e12c835750f (diff) | |
parent | 0fec40942c5e424610b19929bbcd0a1dd4f53246 (diff) | |
download | external_webkit-6d62e2856c7c40b506685d64868333fd39921283.zip external_webkit-6d62e2856c7c40b506685d64868333fd39921283.tar.gz external_webkit-6d62e2856c7c40b506685d64868333fd39921283.tar.bz2 |
am 0fec4094: am 6baa213e: Fix memory leak and repaint issues with fixed background elements
* commit '0fec40942c5e424610b19929bbcd0a1dd4f53246':
Fix memory leak and repaint issues with fixed background elements
Diffstat (limited to 'Source/WebKit/android')
-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 ff45b30..4fab7d4 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; |