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

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

Issue 1497403002: [css-align] Overflow alignment value 'true' renamed to 'unsafe' (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed repaint tests issues. Created 5 years 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/CSSPrimitiveValueMappings.h
diff --git a/third_party/WebKit/Source/core/css/CSSPrimitiveValueMappings.h b/third_party/WebKit/Source/core/css/CSSPrimitiveValueMappings.h
index a10c3c29e479359f648040647827af748be17099..e364e3bd575c79a1717acf1f3e3a23aebd3eb6fd 100644
--- a/third_party/WebKit/Source/core/css/CSSPrimitiveValueMappings.h
+++ b/third_party/WebKit/Source/core/css/CSSPrimitiveValueMappings.h
@@ -4507,8 +4507,8 @@ template<> inline CSSPrimitiveValue::CSSPrimitiveValue(OverflowAlignment overflo
case OverflowAlignmentDefault:
m_value.valueID = CSSValueDefault;
break;
- case OverflowAlignmentTrue:
- m_value.valueID = CSSValueTrue;
+ case OverflowAlignmentUnsafe:
+ m_value.valueID = CSSValueUnsafe;
break;
case OverflowAlignmentSafe:
m_value.valueID = CSSValueSafe;
@@ -4519,15 +4519,15 @@ template<> inline CSSPrimitiveValue::CSSPrimitiveValue(OverflowAlignment overflo
template<> inline OverflowAlignment CSSPrimitiveValue::convertTo() const
{
switch (m_value.valueID) {
- case CSSValueTrue:
- return OverflowAlignmentTrue;
+ case CSSValueUnsafe:
+ return OverflowAlignmentUnsafe;
case CSSValueSafe:
return OverflowAlignmentSafe;
default:
break;
}
ASSERT_NOT_REACHED();
- return OverflowAlignmentTrue;
+ return OverflowAlignmentUnsafe;
}
template<> inline CSSPrimitiveValue::CSSPrimitiveValue(ScrollBehavior behavior)

Powered by Google App Engine
This is Rietveld 408576698