Chromium Code Reviews| Index: third_party/WebKit/Source/core/svg/properties/SVGAnimatedProperty.cpp |
| diff --git a/third_party/WebKit/Source/core/svg/properties/SVGAnimatedProperty.cpp b/third_party/WebKit/Source/core/svg/properties/SVGAnimatedProperty.cpp |
| index a6a9a698d8d03dcd90e0e31e0df5405243469220..8de868507a3e0524f1431f046f359bc6b016922d 100644 |
| --- a/third_party/WebKit/Source/core/svg/properties/SVGAnimatedProperty.cpp |
| +++ b/third_party/WebKit/Source/core/svg/properties/SVGAnimatedProperty.cpp |
| @@ -40,7 +40,7 @@ SVGAnimatedPropertyBase::SVGAnimatedPropertyBase( |
| const QualifiedName& attributeName, |
| CSSPropertyID cssPropertyId) |
| : m_type(type), |
| - m_cssPropertyId(cssPropertyId), |
| + m_cssPropertyId(static_cast<unsigned>(cssPropertyId)), |
|
Nico
2017/03/14 17:16:47
add comment why a) cast is here b) why this is saf
|
| m_contextElement(contextElement), |
| m_attributeName(attributeName) { |
| DCHECK(m_contextElement); |