| 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 9df40f3ade8c4a254b392091a4f681f211cce7f7..302cc440169c41fcd4694cfec3ed6cc9371c398e 100644
|
| --- a/third_party/WebKit/Source/web/LinkHighlightImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/LinkHighlightImpl.cpp
|
| @@ -367,7 +367,7 @@
|
| // we can just re-position the layer without needing to repaint.
|
| m_contentLayer->layer()->invalidate();
|
|
|
| - if (m_currentGraphicsLayer)
|
| + if (m_currentGraphicsLayer && m_currentGraphicsLayer->isTrackingOrCheckingPaintInvalidations())
|
| m_currentGraphicsLayer->trackPaintInvalidation(LinkHighlightDisplayItemClientForTracking(), enclosingIntRect(FloatRect(layer()->position().x, layer()->position().y, layer()->bounds().width, layer()->bounds().height)), PaintInvalidationFull);
|
| }
|
| } else {
|
|
|