Index: third_party/WebKit/Source/web/LinkHighlightImpl.cpp |
diff --git a/third_party/WebKit/Source/web/LinkHighlightImpl.cpp b/third_party/WebKit/Source/web/LinkHighlightImpl.cpp |
index b3010ba5c52821c58defabd79a080ad977c998ee..a9db55e8cd7fe7df291ffcaffc3ed751727f30a7 100644 |
--- a/third_party/WebKit/Source/web/LinkHighlightImpl.cpp |
+++ b/third_party/WebKit/Source/web/LinkHighlightImpl.cpp |
@@ -264,11 +264,10 @@ bool LinkHighlightImpl::computeHighlightLayerPathAndPosition( |
// Scrolling content layers have the same offset from layout object as the |
// non-scrolling layers. Thus we need to adjust for their scroll offset. |
if (m_isScrollingGraphicsLayer) { |
- DoubleSize adjustedScrollOffset = paintInvalidationContainer.layer() |
- ->getScrollableArea() |
- ->adjustedScrollOffset(); |
- absoluteQuad.move(adjustedScrollOffset.width(), |
- adjustedScrollOffset.height()); |
+ FloatPoint scrollPosition = paintInvalidationContainer.layer() |
+ ->getScrollableArea() |
+ ->scrollPosition(); |
+ absoluteQuad.move(toScrollOffset(scrollPosition)); |
} |
// Transform node quads in target absolute coords to local coordinates in |