From 29b325cb949b1a41ac8bdeaa77977fcd342aec31 Mon Sep 17 00:00:00 2001 From: Nicolas Roard Date: Thu, 14 Jan 2010 15:43:16 +0000 Subject: 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... --- WebCore/platform/graphics/android/GraphicsLayerAndroid.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'WebCore') 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--; } -- cgit v1.1