summaryrefslogtreecommitdiffstats
path: root/WebCore/platform
diff options
context:
space:
mode:
authorNicolas Roard <nicolas@android.com>2010-04-06 18:15:16 -0700
committerNicolas Roard <nicolas@android.com>2010-04-06 18:21:26 -0700
commitec0217044eb04aeea15f384a71691245f4bf4223 (patch)
tree21a73128dd06d9a68f08d3d4db05f8856d0a979a /WebCore/platform
parent3dc27326d844c3fb48cdd88fd22b1c85e0abd0c0 (diff)
downloadexternal_webkit-ec0217044eb04aeea15f384a71691245f4bf4223.zip
external_webkit-ec0217044eb04aeea15f384a71691245f4bf4223.tar.gz
external_webkit-ec0217044eb04aeea15f384a71691245f4bf4223.tar.bz2
Revert "Mark positioned elements as needing a relayout when checking for hit test."
Not needed anymore. This reverts commit 84b2cee4185865d37e64bb3cc7a9e1bd6051eb7c. Bug:2457215 Change-Id: I945e6ebe520b1490f4bf62809b4f375750f5c597
Diffstat (limited to 'WebCore/platform')
-rw-r--r--WebCore/platform/graphics/android/GraphicsLayerAndroid.cpp8
-rw-r--r--WebCore/platform/graphics/android/GraphicsLayerAndroid.h5
2 files changed, 0 insertions, 13 deletions
diff --git a/WebCore/platform/graphics/android/GraphicsLayerAndroid.cpp b/WebCore/platform/graphics/android/GraphicsLayerAndroid.cpp
index 3571a49..fa4a180 100644
--- a/WebCore/platform/graphics/android/GraphicsLayerAndroid.cpp
+++ b/WebCore/platform/graphics/android/GraphicsLayerAndroid.cpp
@@ -115,7 +115,6 @@ GraphicsLayerAndroid::GraphicsLayerAndroid(GraphicsLayerClient* client) :
m_needsNotifyClient(false),
m_haveContents(false),
m_haveImage(false),
- m_hasFixedLayers(false),
m_translateX(0),
m_translateY(0),
m_currentTranslateX(0),
@@ -254,13 +253,6 @@ void GraphicsLayerAndroid::updateFixedPosition()
offsetFromRenderer().width(),
offsetFromRenderer().height(),
w, h);
-
- GraphicsLayerAndroid* rootGraphicsLayer = this;
-
- while (rootGraphicsLayer->parent())
- rootGraphicsLayer = static_cast<GraphicsLayerAndroid*>(rootGraphicsLayer->parent());
-
- rootGraphicsLayer->setHasFixedLayers(true);
}
}
diff --git a/WebCore/platform/graphics/android/GraphicsLayerAndroid.h b/WebCore/platform/graphics/android/GraphicsLayerAndroid.h
index d0347a7..25f70b4 100644
--- a/WebCore/platform/graphics/android/GraphicsLayerAndroid.h
+++ b/WebCore/platform/graphics/android/GraphicsLayerAndroid.h
@@ -121,9 +121,6 @@ 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:
@@ -142,8 +139,6 @@ private:
bool m_haveContents;
bool m_haveImage;
- bool m_hasFixedLayers;
-
float m_translateX;
float m_translateY;
float m_currentTranslateX;