| Index: third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutBox.cpp b/third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| index 05d55ffa18e60853fa851e01881dc856ea4d7827..0a82d68a769e90097295658a559f4b4ca2cda5e4 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| @@ -348,8 +348,9 @@ void LayoutBox::styleDidChange(StyleDifference diff,
|
| document().frame()->page()->scrollingCoordinator())
|
| scrollingCoordinator->notifyTransformChanged(*this);
|
| }
|
| - // Non-atomic inlines should be LayoutInline or LayoutText, not LayoutBox.
|
| - DCHECK(!isInline() || isAtomicInlineLevel());
|
| + // Non-atomic inlines should be LayoutInline or LayoutText, not LayoutBox,
|
| + // except for SVG child.
|
| + DCHECK(isSVGChild() || !isInline() || isAtomicInlineLevel());
|
| }
|
|
|
| void LayoutBox::updateBackgroundAttachmentFixedStatusAfterStyleChange() {
|
|
|