Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1576)

Unified Diff: Source/web/LinkHighlight.cpp

Issue 967213004: Removed FrameView's windowToContents and contentsToWindow methods. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Addressed rbyers@ feedback (minus tests) Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);

Powered by Google App Engine
This is Rietveld 408576698