From 84b2cee4185865d37e64bb3cc7a9e1bd6051eb7c Mon Sep 17 00:00:00 2001 From: Nicolas Roard Date: Wed, 24 Mar 2010 18:27:42 +0000 Subject: Mark positioned elements as needing a relayout when checking for hit test. This is necessary when using composited fixed layers, as the layers position may have moved UI-side, while the webkit's related position of those layers may not have been updated yet. Fix Bug:2457215 Change-Id: If4f0e9c3d1a4786b29dcc7c2dc3510ba090b6a36 --- WebCore/platform/graphics/android/GraphicsLayerAndroid.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'WebCore/platform/graphics/android/GraphicsLayerAndroid.h') diff --git a/WebCore/platform/graphics/android/GraphicsLayerAndroid.h b/WebCore/platform/graphics/android/GraphicsLayerAndroid.h index 25f70b4..d0347a7 100644 --- a/WebCore/platform/graphics/android/GraphicsLayerAndroid.h +++ b/WebCore/platform/graphics/android/GraphicsLayerAndroid.h @@ -121,6 +121,9 @@ public: void sendImmediateRepaint(); LayerAndroid* contentLayer() { return m_contentLayer; } + bool hasFixedLayers() const { return m_hasFixedLayers; } + void setHasFixedLayers(bool val) { m_hasFixedLayers = val; } + static int instancesCount(); private: @@ -139,6 +142,8 @@ private: bool m_haveContents; bool m_haveImage; + bool m_hasFixedLayers; + float m_translateX; float m_translateY; float m_currentTranslateX; -- cgit v1.1