Index: third_party/WebKit/Source/core/layout/LayoutBox.h |
diff --git a/third_party/WebKit/Source/core/layout/LayoutBox.h b/third_party/WebKit/Source/core/layout/LayoutBox.h |
index aca950dfdaef5226338fab9bb65e51c04b10e851..94ff66f9b98556731492017642ed0d6b1ca31629 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutBox.h |
+++ b/third_party/WebKit/Source/core/layout/LayoutBox.h |
@@ -489,10 +489,10 @@ class CORE_EXPORT LayoutBox : public LayoutBoxModelObject { |
void addVisualEffectOverflow(); |
LayoutRectOutsets computeVisualEffectOverflowOutsets(); |
- void addOverflowFromChild(LayoutBox* child) { |
- addOverflowFromChild(child, child->locationOffset()); |
+ void addOverflowFromChild(const LayoutBox& child) { |
+ addOverflowFromChild(child, child.locationOffset()); |
} |
- void addOverflowFromChild(LayoutBox* child, const LayoutSize& delta); |
+ void addOverflowFromChild(const LayoutBox& child, const LayoutSize& delta); |
void clearLayoutOverflow(); |
void clearAllOverflows() { m_overflow.reset(); } |