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

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

Issue 16690004: [CSS Regions] Rename region-overflow to region-fragment (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Patch Created 7 years, 6 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 | « Source/core/css/CSSParser.cpp ('k') | Source/core/css/CSSProperties.in » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/CSSPrimitiveValueMappings.h
diff --git a/Source/core/css/CSSPrimitiveValueMappings.h b/Source/core/css/CSSPrimitiveValueMappings.h
index 0e1e9faff7286e28318fdd584bbbaf5f4f2eba74..28ff5672d15adf3897d294077f98de86d91cdcf6 100644
--- a/Source/core/css/CSSPrimitiveValueMappings.h
+++ b/Source/core/css/CSSPrimitiveValueMappings.h
@@ -1958,33 +1958,33 @@ template<> inline CSSPrimitiveValue::operator EMarqueeBehavior() const
return MNONE;
}
-template<> inline CSSPrimitiveValue::CSSPrimitiveValue(RegionOverflow e)
+template<> inline CSSPrimitiveValue::CSSPrimitiveValue(RegionFragment e)
: CSSValue(PrimitiveClass)
{
m_primitiveUnitType = CSS_VALUE_ID;
switch (e) {
- case AutoRegionOverflow:
+ case AutoRegionFragment:
m_value.valueID = CSSValueAuto;
break;
- case BreakRegionOverflow:
+ case BreakRegionFragment:
m_value.valueID = CSSValueBreak;
break;
}
}
-template<> inline CSSPrimitiveValue::operator RegionOverflow() const
+template<> inline CSSPrimitiveValue::operator RegionFragment() const
{
switch (m_value.valueID) {
case CSSValueAuto:
- return AutoRegionOverflow;
+ return AutoRegionFragment;
case CSSValueBreak:
- return BreakRegionOverflow;
+ return BreakRegionFragment;
default:
break;
}
ASSERT_NOT_REACHED();
- return AutoRegionOverflow;
+ return AutoRegionFragment;
}
template<> inline CSSPrimitiveValue::CSSPrimitiveValue(EMarqueeDirection e)
« no previous file with comments | « Source/core/css/CSSParser.cpp ('k') | Source/core/css/CSSProperties.in » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698