Index: third_party/WebKit/Source/core/svg/SVGLength.h |
diff --git a/third_party/WebKit/Source/core/svg/SVGLength.h b/third_party/WebKit/Source/core/svg/SVGLength.h |
index 1d6db092599894cec8ef477861d93111553565a4..6b04d8dca7c9e1498deb8f44baf81dfb2fb174ea 100644 |
--- a/third_party/WebKit/Source/core/svg/SVGLength.h |
+++ b/third_party/WebKit/Source/core/svg/SVGLength.h |
@@ -66,7 +66,7 @@ class SVGLength final : public SVGPropertyBase { |
m_value = CSSPrimitiveValue::create(value, m_value->typeWithCalcResolved()); |
} |
- const CSSPrimitiveValue* asCSSPrimitiveValue() const { return m_value.get(); } |
+ const CSSPrimitiveValue& asCSSPrimitiveValue() const { return *m_value; } |
// Resolves LengthTypePercentage into a normalized floating point number (full |
// value is 1.0). |