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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutBox.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/LayoutBox.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutBox.cpp b/third_party/WebKit/Source/core/layout/LayoutBox.cpp
index 2d85a295f4cee8d0bc4b7c8adf0b8acd317c1327..da3c689eb279b90f9eaf8e78a50e8e219029dc6c 100644
--- a/third_party/WebKit/Source/core/layout/LayoutBox.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutBox.cpp
@@ -3212,7 +3212,7 @@ bool LayoutBox::skipContainingBlockForPercentHeightCalculation(
// non-anonymous.
if (containingBlock->isAnonymous()) {
EDisplay display = containingBlock->styleRef().display();
- return display == EDisplay::Block || display == EDisplay::InlineBlock;
+ return display == EDisplay::kBlock || display == EDisplay::kInlineBlock;
}
// For quirks mode, we skip most auto-height containing blocks when computing
@@ -4757,7 +4757,7 @@ bool LayoutBox::avoidsFloats() const {
return shouldBeConsideredAsReplaced() || hasOverflowClip() || isHR() ||
isLegend() || isWritingModeRoot() || isFlexItemIncludingDeprecated() ||
style()->containsPaint() || style()->containsLayout() ||
- style()->display() == EDisplay::FlowRoot;
+ style()->display() == EDisplay::kFlowRoot;
}
bool LayoutBox::hasNonCompositedScrollbars() const {
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutBlock.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698