summaryrefslogtreecommitdiffstats
path: root/WebCore
diff options
context:
space:
mode:
authorNicolas Roard <nicolas@android.com>2010-01-14 15:43:16 +0000
committerNicolas Roard <nicolas@android.com>2010-01-14 15:46:09 +0000
commit29b325cb949b1a41ac8bdeaa77977fcd342aec31 (patch)
treed81bd4753068f01a7bb1361560558ffa019c2565 /WebCore
parent44364d809fca0d73d06341b521532e85c4c0168b (diff)
downloadexternal_webkit-29b325cb949b1a41ac8bdeaa77977fcd342aec31.zip
external_webkit-29b325cb949b1a41ac8bdeaa77977fcd342aec31.tar.gz
external_webkit-29b325cb949b1a41ac8bdeaa77977fcd342aec31.tar.bz2
Fix 'disappearing layers' bug (see http://b/2371053)
The removed code was needed in the previous implementation, but not so anymore as we recopy the layers to the UI. It causes the bug, as webkit deallocate the tree asynchronously, which ends up resetting the root layer to zero after the new page was loaded...
Diffstat (limited to 'WebCore')
-rw-r--r--WebCore/platform/graphics/android/GraphicsLayerAndroid.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/WebCore/platform/graphics/android/GraphicsLayerAndroid.cpp b/WebCore/platform/graphics/android/GraphicsLayerAndroid.cpp
index 7637be9..f518ffb 100644
--- a/WebCore/platform/graphics/android/GraphicsLayerAndroid.cpp
+++ b/WebCore/platform/graphics/android/GraphicsLayerAndroid.cpp
@@ -121,9 +121,6 @@ GraphicsLayerAndroid::GraphicsLayerAndroid(GraphicsLayerClient* client) :
GraphicsLayerAndroid::~GraphicsLayerAndroid()
{
- if (!parent() && m_frame && m_frame->view())
- PlatformBridge::setRootLayer(m_frame->view(), 0);
-
gDebugGraphicsLayerAndroidInstances--;
}