Index: Source/web/LinkHighlight.cpp |
diff --git a/Source/web/LinkHighlight.cpp b/Source/web/LinkHighlight.cpp |
index a7e1ee80194f660328378f24e0452335721cbe20..e8d649e9910270f91e7fca90dcc4c6c963e90efa 100644 |
--- a/Source/web/LinkHighlight.cpp |
+++ b/Source/web/LinkHighlight.cpp |
@@ -206,16 +206,9 @@ bool LinkHighlight::computeHighlightLayerPathAndPosition(const LayoutBoxModelObj |
ASSERT(quads.size()); |
Path newPath; |
- FloatPoint positionAdjustForCompositedScrolling = IntPoint(m_currentGraphicsLayer->offsetFromLayoutObject()); |
- |
for (size_t quadIndex = 0; quadIndex < quads.size(); ++quadIndex) { |
FloatQuad absoluteQuad = quads[quadIndex]; |
- // FIXME: this hack should not be necessary. It's a consequence of the fact that composited layers for scrolling are represented |
- // differently in Blink than other composited layers. |
- if (paintInvalidationContainer->layer()->needsCompositedScrolling() && m_node->layoutObject() != paintInvalidationContainer) |
- absoluteQuad.move(-positionAdjustForCompositedScrolling.x(), -positionAdjustForCompositedScrolling.y()); |
- |
// Transform node quads in target absolute coords to local coordinates in the compositor layer. |
FloatQuad transformedQuad; |
convertTargetSpaceQuadToCompositedLayer(absoluteQuad, m_node->layoutObject(), paintInvalidationContainer, transformedQuad); |