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

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

Issue 1766723004: style: Remame values in EOverflow and EVerticalAlign to CamelCase (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: enum-clash-EOverflowEVerticalAlign: rebase Created 4 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/LayoutInline.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutInline.cpp b/third_party/WebKit/Source/core/layout/LayoutInline.cpp
index b067ecad0efff31bb8e6ac176ca999fc365f2709..c1337bf4f95bc6be3b35ab2289d0d64ac0303b4c 100644
--- a/third_party/WebKit/Source/core/layout/LayoutInline.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutInline.cpp
@@ -209,8 +209,8 @@ void LayoutInline::updateAlwaysCreateLineBoxes(bool fullLayout)
LayoutInline* parentLayoutInline = parent()->isLayoutInline() ? toLayoutInline(parent()) : 0;
bool checkFonts = document().inNoQuirksMode();
bool alwaysCreateLineBoxesNew = (parentLayoutInline && parentLayoutInline->alwaysCreateLineBoxes())
- || (parentLayoutInline && parentStyle.verticalAlign() != BASELINE)
- || style()->verticalAlign() != BASELINE
+ || (parentLayoutInline && parentStyle.verticalAlign() != VerticalAlignBaseline)
+ || style()->verticalAlign() != VerticalAlignBaseline
|| style()->getTextEmphasisMark() != TextEmphasisMarkNone
|| (checkFonts && (!parentStyle.font().fontMetrics().hasIdenticalAscentDescentAndLineGap(style()->font().fontMetrics())
|| parentStyle.lineHeight() != style()->lineHeight()));
@@ -220,7 +220,7 @@ void LayoutInline::updateAlwaysCreateLineBoxes(bool fullLayout)
const ComputedStyle& firstLineParentStyle = parent()->styleRef(true);
const ComputedStyle& childStyle = styleRef(true);
alwaysCreateLineBoxesNew = !firstLineParentStyle.font().fontMetrics().hasIdenticalAscentDescentAndLineGap(childStyle.font().fontMetrics())
- || childStyle.verticalAlign() != BASELINE
+ || childStyle.verticalAlign() != VerticalAlignBaseline
|| firstLineParentStyle.lineHeight() != childStyle.lineHeight();
}
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutFlexibleBox.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutTableCell.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698