| Index: third_party/WebKit/Source/core/layout/LayoutTableCol.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutTableCol.cpp b/third_party/WebKit/Source/core/layout/LayoutTableCol.cpp
|
| index 9dfb7bccaf9ee0a042e930d25ed5f4d519061ae7..1abb44b8e60df8030358ea7f131c4bd896058fa7 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutTableCol.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutTableCol.cpp
|
| @@ -45,7 +45,7 @@ LayoutTableCol::LayoutTableCol(Element* element)
|
|
|
| void LayoutTableCol::styleDidChange(StyleDifference diff, const ComputedStyle* oldStyle)
|
| {
|
| - DCHECK(style()->display() == TABLE_COLUMN || style()->display() == TABLE_COLUMN_GROUP);
|
| + DCHECK(style()->display() == EDisplay::TableColumn || style()->display() == EDisplay::TableColumnGroup);
|
|
|
| LayoutTableBoxComponent::styleDidChange(diff, oldStyle);
|
|
|
| @@ -98,7 +98,7 @@ void LayoutTableCol::willBeRemovedFromTree()
|
| bool LayoutTableCol::isChildAllowed(LayoutObject* child, const ComputedStyle& style) const
|
| {
|
| // We cannot use isTableColumn here as style() may return 0.
|
| - return child->isLayoutTableCol() && style.display() == TABLE_COLUMN;
|
| + return child->isLayoutTableCol() && style.display() == EDisplay::TableColumn;
|
| }
|
|
|
| bool LayoutTableCol::canHaveChildren() const
|
|
|