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

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

Issue 2001823004: style: Rename the EBoxPack enum values to be prefixed. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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/layout/LayoutDeprecatedFlexibleBox.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 cfe438ce2d1f3a3876c5e83a98c29751d5cee46f..4be76121ddead40b61b26fa9e4180372615064a2 100644
--- a/third_party/WebKit/Source/core/css/CSSPrimitiveValueMappings.h
+++ b/third_party/WebKit/Source/core/css/CSSPrimitiveValueMappings.h
@@ -687,16 +687,16 @@ template<> inline CSSPrimitiveValue::CSSPrimitiveValue(EBoxPack e)
{
init(UnitType::ValueID);
switch (e) {
- case Start:
+ case BoxPackStart:
m_value.valueID = CSSValueStart;
break;
- case Center:
+ case BoxPackCenter:
m_value.valueID = CSSValueCenter;
break;
- case End:
+ case BoxPackEnd:
m_value.valueID = CSSValueEnd;
break;
- case Justify:
+ case BoxPackJustify:
m_value.valueID = CSSValueJustify;
break;
}
@@ -707,19 +707,19 @@ template<> inline EBoxPack CSSPrimitiveValue::convertTo() const
ASSERT(isValueID());
switch (m_value.valueID) {
case CSSValueStart:
- return Start;
+ return BoxPackStart;
case CSSValueEnd:
- return End;
+ return BoxPackEnd;
case CSSValueCenter:
- return Center;
+ return BoxPackCenter;
case CSSValueJustify:
- return Justify;
+ return BoxPackJustify;
default:
break;
}
ASSERT_NOT_REACHED();
- return Justify;
+ return BoxPackJustify;
}
template<> inline CSSPrimitiveValue::CSSPrimitiveValue(EBoxAlignment e)
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/layout/LayoutDeprecatedFlexibleBox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698