Index: third_party/WebKit/Source/core/layout/line/InlineFlowBox.h |
diff --git a/third_party/WebKit/Source/core/layout/line/InlineFlowBox.h b/third_party/WebKit/Source/core/layout/line/InlineFlowBox.h |
index dad3f424db84270790404358655dd8183aaed70a..881c0bbdb8914d72d6946a209477cd0d1760fe02 100644 |
--- a/third_party/WebKit/Source/core/layout/line/InlineFlowBox.h |
+++ b/third_party/WebKit/Source/core/layout/line/InlineFlowBox.h |
@@ -67,7 +67,7 @@ public: |
// an invisible marker exists. The side effect of having an invisible marker is that the quirks mode behavior of shrinking lines with no |
// text children must not apply. This change also means that gaps will exist between image bullet list items. Even when the list bullet |
// is an image, the line is still considered to be immune from the quirk. |
- m_hasTextChildren = lineLayoutItem.style()->display() == LIST_ITEM; |
+ m_hasTextChildren = lineLayoutItem.style()->display() == EDisplay::ListItem; |
m_hasTextDescendants = m_hasTextChildren; |
} |