diff options
Diffstat (limited to 'chromium/third_party/blink/renderer/core/animation/svg_angle_interpolation_type.cc')
-rw-r--r-- | chromium/third_party/blink/renderer/core/animation/svg_angle_interpolation_type.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/chromium/third_party/blink/renderer/core/animation/svg_angle_interpolation_type.cc b/chromium/third_party/blink/renderer/core/animation/svg_angle_interpolation_type.cc index e75b6a06490..77c3a51dd44 100644 --- a/chromium/third_party/blink/renderer/core/animation/svg_angle_interpolation_type.cc +++ b/chromium/third_party/blink/renderer/core/animation/svg_angle_interpolation_type.cc @@ -19,8 +19,7 @@ InterpolationValue SVGAngleInterpolationType::MaybeConvertNeutral( InterpolationValue SVGAngleInterpolationType::MaybeConvertSVGValue( const SVGPropertyBase& svg_value) const { - if (To<SVGAngle>(svg_value).OrientType()->EnumValue() != - kSVGMarkerOrientAngle) + if (!To<SVGAngle>(svg_value).IsNumeric()) return nullptr; return InterpolationValue( std::make_unique<InterpolableNumber>(To<SVGAngle>(svg_value).Value())); |