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

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: Rebase 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
« no previous file with comments | « Source/web/ExternalPopupMenu.cpp ('k') | Source/web/PopupContainer.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/LinkHighlight.cpp
diff --git a/Source/web/LinkHighlight.cpp b/Source/web/LinkHighlight.cpp
index 7d9e4cfa1b50560b53de7cf29592b64c0c3a6072..f021517ada111ce073a782e9b076240dde2ba065 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);
DeprecatedPaintLayer::mapPointToPaintBackingCoordinates(paintInvalidationContainer, floatPoint);
« no previous file with comments | « Source/web/ExternalPopupMenu.cpp ('k') | Source/web/PopupContainer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698