| Index: Source/web/FindInPageCoordinates.cpp
|
| diff --git a/Source/web/FindInPageCoordinates.cpp b/Source/web/FindInPageCoordinates.cpp
|
| index eaeec4520c08f0711d11c367c137932bc0c93634..1b3288fc6909375042acf24e4f516478a6f3f35a 100644
|
| --- a/Source/web/FindInPageCoordinates.cpp
|
| +++ b/Source/web/FindInPageCoordinates.cpp
|
| @@ -87,7 +87,7 @@ static FloatRect toNormalizedRect(const FloatRect& absoluteRect, const RenderObj
|
| // 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 (renderer->style()->position() == FixedPosition && container->isRenderView())
|
| - normalizedRect.move(-toRenderView(container)->frameView()->scrollOffsetForFixedPosition());
|
| + normalizedRect.move(-toRenderView(container)->frameView()->scrollOffsetForViewportConstrainedObjects());
|
|
|
| normalizedRect.scale(1 / containerRect.width(), 1 / containerRect.height());
|
| return normalizedRect;
|
|
|