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

Unified Diff: third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp

Issue 1481683002: CSS: Retire runtime flag CSSMotionPath (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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/parser/CSSPropertyParser.cpp
diff --git a/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp b/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp
index 6b4eaaf96176859afddd7c97474e4519db5b7546..bc0fd3dc76021af7cb2aa9b9d3680e9756a5b10b 100644
--- a/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp
+++ b/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp
@@ -1993,13 +1993,10 @@ PassRefPtrWillBeRawPtr<CSSValue> CSSPropertyParser::parseSingleValue(CSSProperty
case CSSPropertyTextDecorationLine:
return consumeTextDecorationLine(m_range);
case CSSPropertyMotionPath:
- ASSERT(RuntimeEnabledFeatures::cssMotionPathEnabled());
return consumeMotionPath(m_range);
case CSSPropertyMotionOffset:
- ASSERT(RuntimeEnabledFeatures::cssMotionPathEnabled());
return consumeLengthOrPercent(m_range, m_context.mode(), ValueRangeAll);
case CSSPropertyMotionRotation:
- ASSERT(RuntimeEnabledFeatures::cssMotionPathEnabled());
return consumeMotionRotation(m_range, m_context.mode());
case CSSPropertyWebkitTextEmphasisStyle:
return consumeTextEmphasisStyle(m_range);
@@ -2588,7 +2585,6 @@ bool CSSPropertyParser::parseShorthand(CSSPropertyID unresolvedProperty, bool im
case CSSPropertyPadding:
return consume4Values(paddingShorthand(), important);
case CSSPropertyMotion:
- ASSERT(RuntimeEnabledFeatures::cssMotionPathEnabled());
return consumeShorthandGreedily(motionShorthand(), important);
case CSSPropertyWebkitTextEmphasis:
return consumeShorthandGreedily(webkitTextEmphasisShorthand(), important);

Powered by Google App Engine
This is Rietveld 408576698