Index: Source/core/rendering/RenderLayer.cpp |
diff --git a/Source/core/rendering/RenderLayer.cpp b/Source/core/rendering/RenderLayer.cpp |
index 960e3e7a33fd6493e2412e4baff2a579a26ec7c1..2edf568302618e2f8ff936a7e29cb0c5448de60d 100644 |
--- a/Source/core/rendering/RenderLayer.cpp |
+++ b/Source/core/rendering/RenderLayer.cpp |
@@ -260,15 +260,6 @@ void RenderLayer::updateLayerPositionsAfterLayout() |
void RenderLayer::updateLayerPositionRecursive() |
{ |
- if (hasOverflowControls()) { |
- // FIXME: We should figure out the right time to position the overflow controls. |
- // This call appears to be necessary to pass some layout test that use EventSender, |
- // presumably because the normal time to position the controls is during paint. We |
- // probably shouldn't position the overflow controls during paint either... |
- DisableCompositingQueryAsserts disabler; |
- scrollableArea()->positionOverflowControls(IntSize()); |
- } |
- |
if (m_reflectionInfo) |
m_reflectionInfo->reflection()->layout(); |