| Index: third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutBox.cpp b/third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| index a13a9e4024071cf51eb6d4d514f4c365624035ab..9655aac8a07ee74ede97abbb5aa82cc18d1b38e5 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| @@ -1994,7 +1994,7 @@ bool LayoutBox::mapToVisualRectInAncestorSpace(const LayoutBoxModelObject* ances
|
| }
|
|
|
| if (ancestorSkipped) {
|
| - // If the ancestor is below o, then we need to map the rect into paintInvalidationContainer's coordinates.
|
| + // If the ancestor is below o, then we need to map the rect into ancestor's coordinates.
|
| LayoutSize containerOffset = ancestor->offsetFromAncestorContainer(container);
|
| rect.move(-containerOffset);
|
| // If the ancestor is fixed, then the rect is already in its coordinates so doesn't need viewport-adjusting.
|
|
|