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

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

Issue 20526006: Remove -webkit-hyphens and -webkit-hyphenate-limit-* properties. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: init removal Created 7 years, 5 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-in.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 d03496d24ac97fb9e525ec6e23b63806a9c5d3ca..74fbcd0e5020cf065148f6159dea27b059b4ff95 100644
--- a/Source/core/css/CSSPrimitiveValueMappings.h
+++ b/Source/core/css/CSSPrimitiveValueMappings.h
@@ -3507,40 +3507,6 @@ template<> inline CSSPrimitiveValue::operator TextRenderingMode() const
return AutoTextRendering;
}
-template<> inline CSSPrimitiveValue::CSSPrimitiveValue(Hyphens hyphens)
- : CSSValue(PrimitiveClass)
-{
- m_primitiveUnitType = CSS_VALUE_ID;
- switch (hyphens) {
- case HyphensNone:
- m_value.valueID = CSSValueNone;
- break;
- case HyphensManual:
- m_value.valueID = CSSValueManual;
- break;
- case HyphensAuto:
- m_value.valueID = CSSValueAuto;
- break;
- }
-}
-
-template<> inline CSSPrimitiveValue::operator Hyphens() const
-{
- switch (m_value.valueID) {
- case CSSValueNone:
- return HyphensNone;
- case CSSValueManual:
- return HyphensManual;
- case CSSValueAuto:
- return HyphensAuto;
- default:
- break;
- }
-
- ASSERT_NOT_REACHED();
- return HyphensAuto;
-}
-
template<> inline CSSPrimitiveValue::CSSPrimitiveValue(LineSnap gridSnap)
: CSSValue(PrimitiveClass)
{
« no previous file with comments | « Source/core/css/CSSParser-in.cpp ('k') | Source/core/css/CSSProperties.in » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698