Index: Source/web/LinkHighlight.cpp |
diff --git a/Source/web/LinkHighlight.cpp b/Source/web/LinkHighlight.cpp |
index 0e5347bc3856ae748d7d27b58c7737eb6cdc5dfc..17e473646b880c7bb75c2b0a659deb51f9bf0e54 100644 |
--- a/Source/web/LinkHighlight.cpp |
+++ b/Source/web/LinkHighlight.cpp |
@@ -124,7 +124,7 @@ RenderLayer* LinkHighlight::computeEnclosingCompositingLayer() |
} while (!repaintContainer); |
RenderLayer* renderLayer = repaintContainer->layer(); |
- if (!renderLayer || !renderLayer->isComposited()) |
+ if (!renderLayer || renderLayer->compositingState() == NotComposited) |
return 0; |
GraphicsLayer* newGraphicsLayer = renderLayer->backing()->graphicsLayer(); |