| Index: third_party/WebKit/Source/core/layout/LayoutBlock.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutBlock.cpp b/third_party/WebKit/Source/core/layout/LayoutBlock.cpp
|
| index 377bd5f9b16e91611a1d9f95c57d1609e5d6595c..422474d414ed6d6f5fbc498470b57aa0a8cdf26f 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutBlock.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutBlock.cpp
|
| @@ -1921,7 +1921,7 @@ const LayoutBlock* LayoutBlock::enclosingFirstLineStyleBlock() const
|
| LayoutObject* parentBlock = firstLineBlock->parent();
|
| if (firstLineBlock->isAtomicInlineLevel() || firstLineBlock->isFloatingOrOutOfFlowPositioned()
|
| || !parentBlock
|
| - || !parentBlock->canHaveFirstLineOrFirstLetterStyle())
|
| + || !parentBlock->behavesLikeBlockContainer())
|
| break;
|
| ASSERT_WITH_SECURITY_IMPLICATION(parentBlock->isLayoutBlock());
|
| if (toLayoutBlock(parentBlock)->firstChild() != firstLineBlock)
|
|
|