Index: third_party/WebKit/Source/core/layout/LayoutTableRow.cpp |
diff --git a/third_party/WebKit/Source/core/layout/LayoutTableRow.cpp b/third_party/WebKit/Source/core/layout/LayoutTableRow.cpp |
index e51a52a501388e39453a156c45bffff9e99fd5d9..b97c7763d5dfe4195045fcc7115bbdcbe9548d85 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutTableRow.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutTableRow.cpp |
@@ -55,7 +55,7 @@ void LayoutTableRow::willBeRemovedFromTree() |
void LayoutTableRow::styleDidChange(StyleDifference diff, const ComputedStyle* oldStyle) |
{ |
- ASSERT(style()->display() == TABLE_ROW); |
+ DCHECK_EQ(style()->display(), EDisplay::TableRow); |
LayoutTableBoxComponent::styleDidChange(diff, oldStyle); |
propagateStyleToAnonymousChildren(); |
@@ -248,7 +248,7 @@ LayoutTableRow* LayoutTableRow::createAnonymous(Document* document) |
LayoutTableRow* LayoutTableRow::createAnonymousWithParent(const LayoutObject* parent) |
{ |
LayoutTableRow* newRow = LayoutTableRow::createAnonymous(&parent->document()); |
- RefPtr<ComputedStyle> newStyle = ComputedStyle::createAnonymousStyleWithDisplay(parent->styleRef(), TABLE_ROW); |
+ RefPtr<ComputedStyle> newStyle = ComputedStyle::createAnonymousStyleWithDisplay(parent->styleRef(), EDisplay::TableRow); |
newRow->setStyle(newStyle.release()); |
return newRow; |
} |