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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutTableSection.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/LayoutTableSection.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutTableSection.cpp b/third_party/WebKit/Source/core/layout/LayoutTableSection.cpp
index c27228946e7a0a51a5fc71821ca86fa1e9601660..732fa1ab0caaa8913c382557dc25ab2f465f0ef3 100644
--- a/third_party/WebKit/Source/core/layout/LayoutTableSection.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutTableSection.cpp
@@ -115,9 +115,9 @@ LayoutTableSection::~LayoutTableSection() {}
void LayoutTableSection::styleDidChange(StyleDifference diff,
const ComputedStyle* oldStyle) {
- DCHECK(style()->display() == EDisplay::TableFooterGroup ||
- style()->display() == EDisplay::TableRowGroup ||
- style()->display() == EDisplay::TableHeaderGroup);
+ DCHECK(style()->display() == EDisplay::kTableFooterGroup ||
+ style()->display() == EDisplay::kTableRowGroup ||
+ style()->display() == EDisplay::kTableHeaderGroup);
LayoutTableBoxComponent::styleDidChange(diff, oldStyle);
propagateStyleToAnonymousChildren();
@@ -1846,7 +1846,7 @@ LayoutTableSection* LayoutTableSection::createAnonymousWithParent(
const LayoutObject* parent) {
RefPtr<ComputedStyle> newStyle =
ComputedStyle::createAnonymousStyleWithDisplay(parent->styleRef(),
- EDisplay::TableRowGroup);
+ EDisplay::kTableRowGroup);
LayoutTableSection* newSection = new LayoutTableSection(nullptr);
newSection->setDocumentForAnonymous(&parent->document());
newSection->setStyle(std::move(newStyle));

Powered by Google App Engine
This is Rietveld 408576698