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

Unified Diff: third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.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/ComputedStyleCSSValueMapping.cpp
diff --git a/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp b/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp
index 8f17a4de2006207683ff831aaf1faae1ad05e55f..2b4ff3ae4788c600ffd16d197726f40d025ffade 100644
--- a/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp
+++ b/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp
@@ -2419,11 +2419,9 @@ PassRefPtrWillBeRawPtr<CSSValue> ComputedStyleCSSValueMapping::get(CSSPropertyID
return nullptr;
case CSSPropertyMotion:
- ASSERT(RuntimeEnabledFeatures::cssMotionPathEnabled());
return valuesForShorthandProperty(motionShorthand(), style, layoutObject, styledNode, allowVisitedStyle);
case CSSPropertyMotionPath: {
- ASSERT(RuntimeEnabledFeatures::cssMotionPathEnabled());
const StyleMotionPath* styleMotionPath = style.motionPath();
if (!styleMotionPath)
return cssValuePool().createIdentifierValue(CSSValueNone);
@@ -2433,11 +2431,9 @@ PassRefPtrWillBeRawPtr<CSSValue> ComputedStyleCSSValueMapping::get(CSSPropertyID
}
case CSSPropertyMotionOffset:
- ASSERT(RuntimeEnabledFeatures::cssMotionPathEnabled());
return zoomAdjustedPixelValueForLength(style.motionOffset(), style);
case CSSPropertyMotionRotation: {
- ASSERT(RuntimeEnabledFeatures::cssMotionPathEnabled());
RefPtrWillBeRawPtr<CSSValueList> list = CSSValueList::createSpaceSeparated();
if (style.motionRotationType() == MotionRotationAuto)
list->append(cssValuePool().createIdentifierValue(CSSValueAuto));
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSProperties.in ('k') | third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698