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

Unified Diff: third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.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/css/ComputedStyleCSSValueMapping.cpp
diff --git a/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp b/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp
index aaf667e8fdfb5be929f50bea88af2cb7ff35594a..719b130eb16cf5be0a478e5f495ac0f6d32263fd 100644
--- a/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp
+++ b/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp
@@ -2036,26 +2036,26 @@ PassRefPtrWillBeRawPtr<CSSValue> ComputedStyleCSSValueMapping::get(CSSPropertyID
return cssValuePool().createValue(style.unicodeBidi());
case CSSPropertyVerticalAlign:
switch (style.verticalAlign()) {
- case BASELINE:
+ case VerticalAlignBaseline:
return cssValuePool().createIdentifierValue(CSSValueBaseline);
- case MIDDLE:
+ case VerticalAlignMiddle:
return cssValuePool().createIdentifierValue(CSSValueMiddle);
- case SUB:
+ case VerticalAlignSub:
return cssValuePool().createIdentifierValue(CSSValueSub);
- case SUPER:
+ case VerticalAlignSuper:
return cssValuePool().createIdentifierValue(CSSValueSuper);
- case TEXT_TOP:
+ case VerticalAlignTextTop:
return cssValuePool().createIdentifierValue(CSSValueTextTop);
- case TEXT_BOTTOM:
+ case VerticalAlignTextBottom:
return cssValuePool().createIdentifierValue(CSSValueTextBottom);
- case TOP:
+ case VerticalAlignTop:
return cssValuePool().createIdentifierValue(CSSValueTop);
- case BOTTOM:
+ case VerticalAlignBottom:
return cssValuePool().createIdentifierValue(CSSValueBottom);
- case BASELINE_MIDDLE:
+ case VerticalAlignBaselineMiddle:
return cssValuePool().createIdentifierValue(CSSValueWebkitBaselineMiddle);
- case LENGTH:
- return zoomAdjustedPixelValueForLength(style.verticalAlignLength(), style);
+ case VerticalAlignLength:
+ return zoomAdjustedPixelValueForLength(style.getVerticalAlignLength(), style);
}
ASSERT_NOT_REACHED();
return nullptr;

Powered by Google App Engine
This is Rietveld 408576698