Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1312)

Unified Diff: Source/core/rendering/RenderLayer.cpp

Issue 459083002: Position overflow controls during layout. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | Source/core/rendering/RenderLayerScrollableArea.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
« no previous file with comments | « no previous file | Source/core/rendering/RenderLayerScrollableArea.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698