| Index: Source/core/svg/SVGPathBlender.cpp
|
| diff --git a/Source/core/svg/SVGPathBlender.cpp b/Source/core/svg/SVGPathBlender.cpp
|
| index a3a026b6162acff975caab3e27dfc2246ea62b98..8a9d13fb9ee7caacdfd00ea51d2bdb66d27adf53 100644
|
| --- a/Source/core/svg/SVGPathBlender.cpp
|
| +++ b/Source/core/svg/SVGPathBlender.cpp
|
| @@ -28,15 +28,22 @@
|
| namespace blink {
|
|
|
| SVGPathBlender::SVGPathBlender()
|
| - : m_fromSource(0)
|
| - , m_toSource(0)
|
| - , m_consumer(0)
|
| + : m_fromSource(nullptr)
|
| + , m_toSource(nullptr)
|
| + , m_consumer(nullptr)
|
| , m_progress(0)
|
| , m_addTypesCount(0)
|
| , m_isInFirstHalfOfAnimation(false)
|
| {
|
| }
|
|
|
| +void SVGPathBlender::trace(Visitor* visitor)
|
| +{
|
| + visitor->trace(m_fromSource);
|
| + visitor->trace(m_toSource);
|
| + visitor->trace(m_consumer);
|
| +}
|
| +
|
| // Helper functions
|
| static inline FloatPoint blendFloatPoint(const FloatPoint& a, const FloatPoint& b, float progress)
|
| {
|
| @@ -399,9 +406,9 @@ void SVGPathBlender::cleanup()
|
| ASSERT(m_consumer);
|
|
|
| m_consumer->cleanup();
|
| - m_toSource = 0;
|
| - m_fromSource = 0;
|
| - m_consumer = 0;
|
| + m_toSource = nullptr;
|
| + m_fromSource = nullptr;
|
| + m_consumer = nullptr;
|
| m_fromCurrentPoint = FloatPoint();
|
| m_toCurrentPoint = FloatPoint();
|
| }
|
|
|