Index: third_party/WebKit/Source/core/layout/LayoutObject.h |
diff --git a/third_party/WebKit/Source/core/layout/LayoutObject.h b/third_party/WebKit/Source/core/layout/LayoutObject.h |
index fbae05d1ec8f3245ae07a2b12ffb5083661d061d..e80f41354935077d0e6d7a034c9fd7733609a8c3 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutObject.h |
+++ b/third_party/WebKit/Source/core/layout/LayoutObject.h |
@@ -646,7 +646,7 @@ public: |
// LayoutBlock::createAnonymousBlock(). This includes creating an anonymous |
// LayoutBlock having a BLOCK or BOX display. Other classes such as LayoutTextFragment |
// are not LayoutBlocks and will return false. See https://bugs.webkit.org/show_bug.cgi?id=56709. |
- return isAnonymous() && (style()->display() == BLOCK || style()->display() == BOX) && style()->styleType() == PseudoIdNone && isLayoutBlock() && !isListMarker() && !isLayoutFlowThread() && !isLayoutMultiColumnSet() |
+ return isAnonymous() && (style()->display() == EDisplay::Block || style()->display() == EDisplay::Box) && style()->styleType() == PseudoIdNone && isLayoutBlock() && !isListMarker() && !isLayoutFlowThread() && !isLayoutMultiColumnSet() |
&& !isLayoutFullScreen() |
&& !isLayoutFullScreenPlaceholder(); |
} |