| Index: third_party/WebKit/Source/core/layout/LayoutView.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutView.cpp b/third_party/WebKit/Source/core/layout/LayoutView.cpp
|
| index edffcbc88e4da8d531a89317fb15519b58254808..939b94500ec2a7b95be789cd6ff6019e08a9ab4d 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutView.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutView.cpp
|
| @@ -323,6 +323,13 @@ LayoutRect LayoutView::visualOverflowRect() const
|
| return LayoutRect(documentRect());
|
| }
|
|
|
| +LayoutRect LayoutView::localOverflowRectForPaintInvalidation() const
|
| +{
|
| + // TODO(wangxianzhu): This is only required without rootLayerScrolls (though it is also correct
|
| + // but unnecessary with rootLayerScrolls) because of the special LayoutView overflow model.
|
| + return visualOverflowRect();
|
| +}
|
| +
|
| void LayoutView::mapLocalToAncestor(const LayoutBoxModelObject* ancestor, TransformState& transformState, MapCoordinatesFlags mode) const
|
| {
|
| if (!ancestor && mode & UseTransforms && shouldUseTransformFromContainer(0)) {
|
|
|