Index: Source/web/LinkHighlight.cpp |
diff --git a/Source/web/LinkHighlight.cpp b/Source/web/LinkHighlight.cpp |
index fc5ee986ee70a342ad0fb60667a536ecfc0ccb42..fda350b44d7b937362577bc99110acd9f61bcf1f 100644 |
--- a/Source/web/LinkHighlight.cpp |
+++ b/Source/web/LinkHighlight.cpp |
@@ -140,8 +140,8 @@ static void convertTargetSpaceQuadToCompositedLayer(const FloatQuad& targetSpace |
} |
// FIXME: this does not need to be absolute, just in the paint invalidation container's space. |
- point = targetRenderer->frame()->view()->contentsToWindow(point); |
- point = paintInvalidationContainer->frame()->view()->windowToContents(point); |
+ point = targetRenderer->frame()->view()->contentsToRootFrame(point); |
+ point = paintInvalidationContainer->frame()->view()->rootFrameToContents(point); |
FloatPoint floatPoint = paintInvalidationContainer->absoluteToLocal(point, UseTransforms); |
Layer::mapPointToPaintBackingCoordinates(paintInvalidationContainer, floatPoint); |