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

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

Issue 134473008: Remove CSS regions support, keeping a bare minimum to support "region-based" multicol. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase master Created 6 years, 10 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/CSSGrammar.y ('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 3c443fabb84f37356e188f3ffae585bbc7ae3516..fb459a02bb4efd5ac3317b9091ea343f6dfb3997 100644
--- a/Source/core/css/CSSPrimitiveValueMappings.h
+++ b/Source/core/css/CSSPrimitiveValueMappings.h
@@ -1935,36 +1935,6 @@ template<> inline CSSPrimitiveValue::operator EMarqueeBehavior() const
return MNONE;
}
-template<> inline CSSPrimitiveValue::CSSPrimitiveValue(RegionFragment e)
- : CSSValue(PrimitiveClass)
-{
- m_primitiveUnitType = CSS_VALUE_ID;
- switch (e) {
- case AutoRegionFragment:
- m_value.valueID = CSSValueAuto;
- break;
- case BreakRegionFragment:
- m_value.valueID = CSSValueBreak;
- break;
- }
-}
-
-template<> inline CSSPrimitiveValue::operator RegionFragment() const
-{
- ASSERT(isValueID());
- switch (m_value.valueID) {
- case CSSValueAuto:
- return AutoRegionFragment;
- case CSSValueBreak:
- return BreakRegionFragment;
- default:
- break;
- }
-
- ASSERT_NOT_REACHED();
- return AutoRegionFragment;
-}
-
template<> inline CSSPrimitiveValue::CSSPrimitiveValue(EMarqueeDirection e)
: CSSValue(PrimitiveClass)
{
« no previous file with comments | « Source/core/css/CSSGrammar.y ('k') | Source/core/css/CSSProperties.in » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698