Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(160)

Unified Diff: third_party/WebKit/Source/core/layout/LayoutTableRow.cpp

Issue 2670643004: Rename EDisplay values with k prefix. (Closed)
Patch Set: Rebase Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 ec17e6c89f8c70b1837503d97d143af76e93c9d9..3184ad5c5a4ef04f7f70463640b98b687cc92e81 100644
--- a/third_party/WebKit/Source/core/layout/LayoutTableRow.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutTableRow.cpp
@@ -54,7 +54,7 @@ void LayoutTableRow::willBeRemovedFromTree() {
void LayoutTableRow::styleDidChange(StyleDifference diff,
const ComputedStyle* oldStyle) {
- DCHECK_EQ(style()->display(), EDisplay::TableRow);
+ DCHECK_EQ(style()->display(), EDisplay::kTableRow);
LayoutTableBoxComponent::styleDidChange(diff, oldStyle);
propagateStyleToAnonymousChildren();
@@ -278,7 +278,7 @@ LayoutTableRow* LayoutTableRow::createAnonymousWithParent(
LayoutTableRow* newRow = LayoutTableRow::createAnonymous(&parent->document());
RefPtr<ComputedStyle> newStyle =
ComputedStyle::createAnonymousStyleWithDisplay(parent->styleRef(),
- EDisplay::TableRow);
+ EDisplay::kTableRow);
newRow->setStyle(std::move(newStyle));
return newRow;
}
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutTableCol.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutTableSection.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698