Index: Source/core/svg/SVGLengthContext.h |
diff --git a/Source/core/svg/SVGLengthContext.h b/Source/core/svg/SVGLengthContext.h |
index 5ad5c6a74f11716eea59ac08768b7280bcde02da..6050207663fbf8bbeb3426e0f335571d9b4729c3 100644 |
--- a/Source/core/svg/SVGLengthContext.h |
+++ b/Source/core/svg/SVGLengthContext.h |
@@ -50,6 +50,7 @@ enum SVGLengthMode { |
}; |
class SVGLengthContext { |
+ STACK_ALLOCATED(); |
public: |
explicit SVGLengthContext(const SVGElement*); |
@@ -80,7 +81,7 @@ private: |
float convertValueFromUserUnitsToEXS(float value, ExceptionState&) const; |
float convertValueFromEXSToUserUnits(float value, ExceptionState&) const; |
- const SVGElement* m_context; |
+ RawPtrWillBeMember<const SVGElement> m_context; |
FloatRect m_overridenViewport; |
}; |