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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutTableCol.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/LayoutTableCol.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutTableCol.cpp b/third_party/WebKit/Source/core/layout/LayoutTableCol.cpp
index ba923455e9356954adaa151196e0989f538ca1e2..eefe5b6744edb2e965247c43d5b72960cda1510b 100644
--- a/third_party/WebKit/Source/core/layout/LayoutTableCol.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutTableCol.cpp
@@ -43,8 +43,8 @@ LayoutTableCol::LayoutTableCol(Element* element)
void LayoutTableCol::styleDidChange(StyleDifference diff,
const ComputedStyle* oldStyle) {
- DCHECK(style()->display() == EDisplay::TableColumn ||
- style()->display() == EDisplay::TableColumnGroup);
+ DCHECK(style()->display() == EDisplay::kTableColumn ||
+ style()->display() == EDisplay::kTableColumnGroup);
LayoutTableBoxComponent::styleDidChange(diff, oldStyle);
@@ -102,7 +102,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() == EDisplay::TableColumn;
+ return child->isLayoutTableCol() && style.display() == EDisplay::kTableColumn;
}
bool LayoutTableCol::canHaveChildren() const {
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutTableCol.h ('k') | third_party/WebKit/Source/core/layout/LayoutTableRow.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698