Index: third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp |
diff --git a/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp b/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp |
index 69e8ef4926e9d1840e445324c309c5d2c23ed883..b861e7f50692526d02cdccef33e5e63e9446b459 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp |
@@ -2412,7 +2412,7 @@ void LayoutBlockFlow::addOverflowFromFloats() { |
const FloatingObject& floatingObject = *it->get(); |
if (floatingObject.isDescendant()) |
addOverflowFromChild( |
- floatingObject.layoutObject(), |
+ *floatingObject.layoutObject(), |
LayoutSize(xPositionForFloatIncludingMargin(floatingObject), |
yPositionForFloatIncludingMargin(floatingObject))); |
} |
@@ -3895,7 +3895,7 @@ void LayoutBlockFlow::addOverhangingFloats(LayoutBlockFlow* child, |
// need to go ahead and add its overflow in to the child now. |
if (floatingObject.isDescendant()) |
child->addOverflowFromChild( |
- floatingObject.layoutObject(), |
+ *floatingObject.layoutObject(), |
LayoutSize(xPositionForFloatIncludingMargin(floatingObject), |
yPositionForFloatIncludingMargin(floatingObject))); |
} |