| 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 496dda7a88013ecd58873c8237ae444d19086452..77810d59ee4c3db5ab40151035ab870de9a05403 100644
|
| --- a/third_party/WebKit/Source/web/LinkHighlightImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/LinkHighlightImpl.cpp
|
| @@ -261,11 +261,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()
|
| - ->offsetFromOrigin();
|
| - absoluteQuad.move(adjustedScrollOffset.width(),
|
| - adjustedScrollOffset.height());
|
| + FloatPoint scrollPosition = paintInvalidationContainer.layer()
|
| + ->getScrollableArea()
|
| + ->absolutePosition();
|
| + absoluteQuad.move(toScrollOffset(scrollPosition));
|
| }
|
|
|
| // Transform node quads in target absolute coords to local coordinates in the compositor layer.
|
|
|