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

Unified Diff: third_party/WebKit/Source/core/css/CSSPrimitiveValueMappings.h

Issue 2358473002: Renamed EFloat members to match keywords (Closed)
Patch Set: Rebase Created 4 years, 3 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/css/resolver/StyleAdjuster.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/css/CSSPrimitiveValueMappings.h
diff --git a/third_party/WebKit/Source/core/css/CSSPrimitiveValueMappings.h b/third_party/WebKit/Source/core/css/CSSPrimitiveValueMappings.h
index f1937e04064d5d8a61647cb6cb771eac5d4eff80..838086cfea0dcb0a5bb8dee62eaad7e4b66904d1 100644
--- a/third_party/WebKit/Source/core/css/CSSPrimitiveValueMappings.h
+++ b/third_party/WebKit/Source/core/css/CSSPrimitiveValueMappings.h
@@ -1369,13 +1369,13 @@ template<> inline CSSPrimitiveValue::CSSPrimitiveValue(EFloat e)
{
init(UnitType::ValueID);
switch (e) {
- case EFloat::NoFloat:
+ case EFloat::None:
m_value.valueID = CSSValueNone;
break;
- case EFloat::LeftFloat:
+ case EFloat::Left:
m_value.valueID = CSSValueLeft;
break;
- case EFloat::RightFloat:
+ case EFloat::Right:
m_value.valueID = CSSValueRight;
break;
}
@@ -1386,17 +1386,17 @@ template<> inline EFloat CSSPrimitiveValue::convertTo() const
ASSERT(isValueID());
switch (m_value.valueID) {
case CSSValueLeft:
- return EFloat::LeftFloat;
+ return EFloat::Left;
case CSSValueRight:
- return EFloat::RightFloat;
+ return EFloat::Right;
case CSSValueNone:
- return EFloat::NoFloat;
+ return EFloat::None;
default:
break;
}
ASSERT_NOT_REACHED();
- return EFloat::NoFloat;
+ return EFloat::None;
}
template<> inline CSSPrimitiveValue::CSSPrimitiveValue(Hyphens e)
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/css/resolver/StyleAdjuster.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698