Remove CSSWillChange runtime flag (status=stable)

BUG=402536

Review URL: https://codereview.chromium.org/486563002

git-svn-id: svn://svn.chromium.org/blink/trunk@180429 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent a1495af5
...@@ -102,7 +102,6 @@ static void setPropertySwitchesFromRuntimeFeatures() ...@@ -102,7 +102,6 @@ static void setPropertySwitchesFromRuntimeFeatures()
RuntimeCSSEnabled::setCSSPropertyEnabled(CSSPropertyMaskSourceType, RuntimeEnabledFeatures::cssMaskSourceTypeEnabled()); RuntimeCSSEnabled::setCSSPropertyEnabled(CSSPropertyMaskSourceType, RuntimeEnabledFeatures::cssMaskSourceTypeEnabled());
RuntimeCSSEnabled::setCSSPropertyEnabled(CSSPropertyColumnFill, RuntimeEnabledFeatures::regionBasedColumnsEnabled()); RuntimeCSSEnabled::setCSSPropertyEnabled(CSSPropertyColumnFill, RuntimeEnabledFeatures::regionBasedColumnsEnabled());
RuntimeCSSEnabled::setCSSPropertyEnabled(CSSPropertyScrollBehavior, RuntimeEnabledFeatures::cssomSmoothScrollEnabled()); RuntimeCSSEnabled::setCSSPropertyEnabled(CSSPropertyScrollBehavior, RuntimeEnabledFeatures::cssomSmoothScrollEnabled());
RuntimeCSSEnabled::setCSSPropertyEnabled(CSSPropertyWillChange, RuntimeEnabledFeatures::cssWillChangeEnabled());
} }
static CSSPropertySwitches& propertySwitches() static CSSPropertySwitches& propertySwitches()
......
...@@ -1340,8 +1340,6 @@ bool CSSPropertyParser::parseValue(CSSPropertyID propId, bool important) ...@@ -1340,8 +1340,6 @@ bool CSSPropertyParser::parseValue(CSSPropertyID propId, bool important)
parsedValue = parseColumnWidth(); parsedValue = parseColumnWidth();
break; break;
case CSSPropertyWillChange: case CSSPropertyWillChange:
if (!RuntimeEnabledFeatures::cssWillChangeEnabled())
return false;
return parseWillChange(important); return parseWillChange(important);
// End of CSS3 properties // End of CSS3 properties
...@@ -7281,8 +7279,6 @@ PassRefPtrWillBeRawPtr<CSSValue> CSSPropertyParser::parseImageSet(CSSParserValue ...@@ -7281,8 +7279,6 @@ PassRefPtrWillBeRawPtr<CSSValue> CSSPropertyParser::parseImageSet(CSSParserValue
bool CSSPropertyParser::parseWillChange(bool important) bool CSSPropertyParser::parseWillChange(bool important)
{ {
ASSERT(RuntimeEnabledFeatures::cssWillChangeEnabled());
RefPtrWillBeRawPtr<CSSValueList> values = CSSValueList::createCommaSeparated(); RefPtrWillBeRawPtr<CSSValueList> values = CSSValueList::createCommaSeparated();
if (m_valueList->current()->id == CSSValueAuto) { if (m_valueList->current()->id == CSSValueAuto) {
if (m_valueList->next()) if (m_valueList->next())
......
...@@ -43,7 +43,6 @@ CSSMaskSourceType status=experimental ...@@ -43,7 +43,6 @@ CSSMaskSourceType status=experimental
CSSOMSmoothScroll status=experimental CSSOMSmoothScroll status=experimental
CSSTouchActionDelay status=test CSSTouchActionDelay status=test
CSSViewport status=experimental CSSViewport status=experimental
CSSWillChange status=stable
CSS3Text status=experimental CSS3Text status=experimental
CSS3TextDecorations status=experimental CSS3TextDecorations status=experimental
CompositedSelectionUpdates CompositedSelectionUpdates
......
...@@ -46,7 +46,6 @@ void WebRuntimeFeatures::enableBleedingEdgeFastPaths(bool enable) ...@@ -46,7 +46,6 @@ void WebRuntimeFeatures::enableBleedingEdgeFastPaths(bool enable)
ASSERT(enable); ASSERT(enable);
RuntimeEnabledFeatures::setBleedingEdgeFastPathsEnabled(enable); RuntimeEnabledFeatures::setBleedingEdgeFastPathsEnabled(enable);
RuntimeEnabledFeatures::setSubpixelFontScalingEnabled(enable || RuntimeEnabledFeatures::subpixelFontScalingEnabled()); RuntimeEnabledFeatures::setSubpixelFontScalingEnabled(enable || RuntimeEnabledFeatures::subpixelFontScalingEnabled());
RuntimeEnabledFeatures::setCSSWillChangeEnabled(enable);
RuntimeEnabledFeatures::setWebAnimationsAPIEnabled(enable); RuntimeEnabledFeatures::setWebAnimationsAPIEnabled(enable);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment