Index: third_party/WebKit/Source/core/layout/LayoutGrid.cpp |
diff --git a/third_party/WebKit/Source/core/layout/LayoutGrid.cpp b/third_party/WebKit/Source/core/layout/LayoutGrid.cpp |
index cb52b7acaa913ca94f88f90c69cc728421147d4e..d37c0eb61ab594e1f2c7a7ea030e318a11e4aa09 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutGrid.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutGrid.cpp |
@@ -2491,6 +2491,7 @@ void LayoutGrid::layoutPositionedObjects(bool relayoutChildren, |
for (auto* child : *positionedDescendants) { |
if (isOrthogonalChild(*child)) { |
// FIXME: Properly support orthogonal writing mode. |
+ layoutPositionedObject(child, relayoutChildren, info); |
continue; |
} |
@@ -2512,9 +2513,9 @@ void LayoutGrid::layoutPositionedObjects(bool relayoutChildren, |
childLayer->setStaticInlinePosition(borderStart() + columnOffset); |
childLayer->setStaticBlockPosition(borderBefore() + rowOffset); |
} |
- } |
- LayoutBlock::layoutPositionedObjects(relayoutChildren, info); |
+ layoutPositionedObject(child, relayoutChildren, info); |
+ } |
} |
void LayoutGrid::offsetAndBreadthForPositionedChild( |