Chromium Code Reviews| Index: Source/web/LinkHighlight.cpp |
| diff --git a/Source/web/LinkHighlight.cpp b/Source/web/LinkHighlight.cpp |
| index 4f32739267b200111858fb60827d2639405447fc..ed6ba1f98c7dfb1ea166508ac455f611d8194926 100644 |
| --- a/Source/web/LinkHighlight.cpp |
| +++ b/Source/web/LinkHighlight.cpp |
| @@ -131,7 +131,7 @@ RenderLayer* LinkHighlight::computeEnclosingCompositingLayer() |
| if (!newGraphicsLayer->drawsContent()) { |
| if (renderLayer->scrollableArea()->usesCompositedScrolling()) { |
| - ASSERT(renderLayer->compositedLayerMapping() && renderLayer->compositedLayerMapping()->scrollingContentsLayer()); |
| + ASSERT(renderLayer->compositingState() == PaintsIntoOwnBacking && renderLayer->compositedLayerMapping()->scrollingContentsLayer()); |
|
shawnsingh
2013/11/12 09:55:50
Can you please explain? I actually am not familiar
Ian Vollick
2013/11/14 04:12:47
It's just that if the renderLayer uses composited
|
| newGraphicsLayer = renderLayer->compositedLayerMapping()->scrollingContentsLayer(); |
| } else |
| ASSERT_NOT_REACHED(); |