Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1441)

Unified Diff: Source/web/LinkHighlight.cpp

Issue 24921002: Make compositingState explicit (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: addressed first round of reviewer comments Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();

Powered by Google App Engine
This is Rietveld 408576698