| Index: Source/web/FindInPageCoordinates.cpp
|
| diff --git a/Source/web/FindInPageCoordinates.cpp b/Source/web/FindInPageCoordinates.cpp
|
| index d9c50b85d51da378c02a293374355a80926ad4d3..dc75505ca85abf55456668b537e210285591c5b3 100644
|
| --- a/Source/web/FindInPageCoordinates.cpp
|
| +++ b/Source/web/FindInPageCoordinates.cpp
|
| @@ -87,7 +87,7 @@ static FloatRect toNormalizedRect(const FloatRect& absoluteRect, const LayoutObj
|
| // Fixed positions do not make sense in this coordinate system, but need to leave consistent tickmarks.
|
| // So, use their position when the view is not scrolled, like an absolute position.
|
| if (layoutObject->style()->position() == FixedPosition && container->isLayoutView())
|
| - normalizedRect.move(-toLayoutView(container)->frameView()->scrollOffsetForViewportConstrainedObjects());
|
| + normalizedRect.moveBy(-toLayoutView(container)->frameView()->scrollPosition());
|
|
|
| normalizedRect.scale(1 / containerRect.width(), 1 / containerRect.height());
|
| return normalizedRect;
|
|
|