| 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 79d3f0863ba9b76066b1475b22ff8bc80d4ba5ee..40e26824f282369ede0bc15a7dee0bd7d4446a62 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutBox.h
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutBox.h
|
| @@ -1223,12 +1223,16 @@ class CORE_EXPORT LayoutBox : public LayoutBoxModelObject {
|
| return ToLayoutSize(PhysicalLocation());
|
| }
|
|
|
| - LayoutRect LogicalVisualOverflowRectForPropagation(
|
| - const ComputedStyle&) const;
|
| - LayoutRect VisualOverflowRectForPropagation(const ComputedStyle&) const;
|
| - LayoutRect LogicalLayoutOverflowRectForPropagation(
|
| - const ComputedStyle&) const;
|
| - LayoutRect LayoutOverflowRectForPropagation(const ComputedStyle&) const;
|
| + // Convert a local rect in this box's blocks direction into parent's blocks
|
| + // direction, for parent to accumulate layout or visual overflow.
|
| + LayoutRect RectForOverflowPropagation(const LayoutRect&) const;
|
| +
|
| + LayoutRect LogicalVisualOverflowRectForPropagation() const;
|
| + LayoutRect VisualOverflowRectForPropagation() const {
|
| + return RectForOverflowPropagation(VisualOverflowRect());
|
| + }
|
| + LayoutRect LogicalLayoutOverflowRectForPropagation() const;
|
| + LayoutRect LayoutOverflowRectForPropagation() const;
|
|
|
| bool HasOverflowModel() const { return overflow_.get(); }
|
| bool HasSelfVisualOverflow() const {
|
|
|