| Index: third_party/WebKit/Source/core/svg/SVGAnimatedPath.cpp
|
| diff --git a/third_party/WebKit/Source/core/svg/SVGAnimatedPath.cpp b/third_party/WebKit/Source/core/svg/SVGAnimatedPath.cpp
|
| index a2821543077d97a2e6da48456b7f32f87296db10..1dd30a6a858156a8a7950c890411ac6e3cd8c63d 100644
|
| --- a/third_party/WebKit/Source/core/svg/SVGAnimatedPath.cpp
|
| +++ b/third_party/WebKit/Source/core/svg/SVGAnimatedPath.cpp
|
| @@ -30,6 +30,8 @@
|
|
|
| #include "core/svg/SVGAnimatedPath.h"
|
|
|
| +#include "core/css/CSSIdentifierValue.h"
|
| +
|
| namespace blink {
|
|
|
| SVGAnimatedPath::SVGAnimatedPath(SVGElement* contextElement,
|
| @@ -42,4 +44,11 @@ SVGAnimatedPath::SVGAnimatedPath(SVGElement* contextElement,
|
|
|
| SVGAnimatedPath::~SVGAnimatedPath() {}
|
|
|
| +const CSSValue* SVGAnimatedPath::cssValue() const {
|
| + const CSSPathValue* pathValue = currentValue()->pathValue();
|
| + if (pathValue->stylePath()->byteStream().isEmpty())
|
| + return CSSIdentifierValue::create(CSSValueNone);
|
| + return pathValue;
|
| +}
|
| +
|
| } // namespace blink
|
|
|