| 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 a2298303ab0935f59a3fc102f197f4dcc22d8a79..5a4388ad9ba78e3583445e68a0bb8705f33090b9 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutBox.h
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutBox.h
|
| @@ -798,8 +798,11 @@ public:
|
| virtual void computeIntrinsicRatioInformation(FloatSize& /* intrinsicSize */, double& /* intrinsicRatio */) const { }
|
|
|
| IntSize scrolledContentOffset() const;
|
| - void applyCachedScrollOffsetForPaintInvalidation(LayoutRect& paintRect) const;
|
| - void applyCachedClipAndScrollOffsetForPaintInvalidation(LayoutRect& paintRect) const;
|
| +
|
| + // Precondition: this object has overflow clip.
|
| + // Applies scroll offset to map the rect from scrolling contents space to the space of this object.
|
| + // If this object is not a paint invalidation container, overflow clip is also applied.
|
| + void applyOverflowClipAndScrollOffsetForPaintInvalidationIfNeeded(LayoutRect&) const;
|
|
|
| virtual bool hasRelativeLogicalWidth() const;
|
| virtual bool hasRelativeLogicalHeight() const;
|
|
|