Index: third_party/WebKit/Source/core/layout/compositing/CompositingInputsUpdater.cpp |
diff --git a/third_party/WebKit/Source/core/layout/compositing/CompositingInputsUpdater.cpp b/third_party/WebKit/Source/core/layout/compositing/CompositingInputsUpdater.cpp |
index c8f3f1db5a3cff773419d8e7fc1d10631c5cee93..5c613db689626b254e520fedd5af301006d512b6 100644 |
--- a/third_party/WebKit/Source/core/layout/compositing/CompositingInputsUpdater.cpp |
+++ b/third_party/WebKit/Source/core/layout/compositing/CompositingInputsUpdater.cpp |
@@ -52,7 +52,8 @@ static const PaintLayer* FindParentLayerOnClippingContainerChain( |
// SVG (other than LayoutSVGRoot) cannot have PaintLayers. |
DCHECK(!current->HasClipRelatedProperty() || |
current->StyleRef().ContainsPaint() || |
- (current->IsBox() && ToLayoutBox(current)->HasControlClip())); |
+ (current->IsBox() && ToLayoutBox(current)->HasControlClip()) || |
+ current->IsSVGChild()); |
} |
NOTREACHED(); |
return nullptr; |