Index: third_party/WebKit/Source/core/layout/LayoutBlock.cpp |
diff --git a/third_party/WebKit/Source/core/layout/LayoutBlock.cpp b/third_party/WebKit/Source/core/layout/LayoutBlock.cpp |
index fe8b13e07a1f7f0457d5c36469f1505eb5c51ac6..154fd636eaa6f70f3416eaeffb338e6f3349afe8 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutBlock.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutBlock.cpp |
@@ -518,7 +518,7 @@ void LayoutBlock::addOverflowFromBlockChildren() { |
for (LayoutBox* child = firstChildBox(); child; |
child = child->nextSiblingBox()) { |
if (!child->isFloatingOrOutOfFlowPositioned() && !child->isColumnSpanAll()) |
- addOverflowFromChild(child); |
+ addOverflowFromChild(*child); |
} |
} |
@@ -531,7 +531,7 @@ void LayoutBlock::addOverflowFromPositionedObjects() { |
// Fixed positioned elements don't contribute to layout overflow, since they |
// don't scroll with the content. |
if (positionedObject->style()->position() != EPosition::kFixed) |
- addOverflowFromChild(positionedObject, |
+ addOverflowFromChild(*positionedObject, |
toLayoutSize(positionedObject->location())); |
} |
} |