| 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 a0fdcdc266e64286e31a7e7ddd9e1e74ee6c3e3a..3dd100b9bd7a972cf1520681a1dde1d32ea9c0b6 100644
|
| --- a/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp
|
| +++ b/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp
|
| @@ -53,11 +53,9 @@
|
| #include "core/layout/LayoutObject.h"
|
| #include "core/style/ComputedStyle.h"
|
| #include "core/style/ContentData.h"
|
| -#include "core/style/PathStyleMotionPath.h"
|
| #include "core/style/QuotesData.h"
|
| #include "core/style/ShadowList.h"
|
| #include "core/style/StyleVariableData.h"
|
| -#include "core/svg/SVGPathUtilities.h"
|
| #include "platform/LengthFunctions.h"
|
|
|
| namespace blink {
|
| @@ -2452,14 +2450,10 @@ PassRefPtrWillBeRawPtr<CSSValue> ComputedStyleCSSValueMapping::get(CSSPropertyID
|
| case CSSPropertyMotion:
|
| return valuesForShorthandProperty(motionShorthand(), style, layoutObject, styledNode, allowVisitedStyle);
|
|
|
| - case CSSPropertyMotionPath: {
|
| - const StyleMotionPath* styleMotionPath = style.motionPath();
|
| - if (!styleMotionPath)
|
| - return cssValuePool().createIdentifierValue(CSSValueNone);
|
| -
|
| - ASSERT(styleMotionPath->isPathStyleMotionPath());
|
| - return CSSPathValue::create(toPathStyleMotionPath(styleMotionPath)->pathString());
|
| - }
|
| + case CSSPropertyMotionPath:
|
| + if (const StylePath* styleMotionPath = style.motionPath())
|
| + return styleMotionPath->computedCSSValue();
|
| + return cssValuePool().createIdentifierValue(CSSValueNone);
|
|
|
| case CSSPropertyMotionOffset:
|
| return zoomAdjustedPixelValueForLength(style.motionOffset(), style);
|
|
|