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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutTableCell.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/LayoutTableCell.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutTableCell.cpp b/third_party/WebKit/Source/core/layout/LayoutTableCell.cpp
index 4146da633a4f574417f9255a7ca53b0a0e0af252..f10f6cedcf210fca9c0f990dd5e8dff9d81ee92b 100644
--- a/third_party/WebKit/Source/core/layout/LayoutTableCell.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutTableCell.cpp
@@ -479,7 +479,7 @@ void LayoutTableCell::ensureIsReadyForPaintInvalidation() {
void LayoutTableCell::styleDidChange(StyleDifference diff,
const ComputedStyle* oldStyle) {
- DCHECK_EQ(style()->display(), EDisplay::TableCell);
+ DCHECK_EQ(style()->display(), EDisplay::kTableCell);
LayoutBlockFlow::styleDidChange(diff, oldStyle);
setHasBoxDecorationBackground(true);
@@ -1438,7 +1438,7 @@ LayoutTableCell* LayoutTableCell::createAnonymousWithParent(
LayoutTableCell::createAnonymous(&parent->document());
RefPtr<ComputedStyle> newStyle =
ComputedStyle::createAnonymousStyleWithDisplay(parent->styleRef(),
- EDisplay::TableCell);
+ EDisplay::kTableCell);
newCell->setStyle(std::move(newStyle));
return newCell;
}
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutTable.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutTableCol.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698