| Index: third_party/WebKit/Source/core/svg/SVGViewSpec.cpp
|
| diff --git a/third_party/WebKit/Source/core/svg/SVGViewSpec.cpp b/third_party/WebKit/Source/core/svg/SVGViewSpec.cpp
|
| index e41b971a3dbf50fc354da76bb1bdad6d53b97293..5eb05c1b79d14d161d6f93af5537b16af9c1c121 100644
|
| --- a/third_party/WebKit/Source/core/svg/SVGViewSpec.cpp
|
| +++ b/third_party/WebKit/Source/core/svg/SVGViewSpec.cpp
|
| @@ -30,11 +30,13 @@
|
| namespace blink {
|
|
|
| SVGViewSpec::SVGViewSpec(SVGSVGElement* contextElement)
|
| - // Note: addToPropertyMap is not needed, as SVGViewSpec do not correspond to an element.
|
| - // Note: We make tear-offs' contextElement the target element of SVGViewSpec.
|
| - // This contextElement will be only used for keeping this alive from the tearoff.
|
| - // SVGSVGElement holds a strong-ref to this SVGViewSpec, so this is kept alive as:
|
| - // AnimatedProperty tearoff -(contextElement)-> SVGSVGElement -(RefPtr)-> SVGViewSpec.
|
| + // Note: addToPropertyMap is not needed, as SVGViewSpec do not correspond to
|
| + // an element. We make tear-offs' contextElement the target element of
|
| + // SVGViewSpec. This contextElement will be only used for keeping this
|
| + // alive from the tearoff. SVGSVGElement holds a strong-ref to this
|
| + // SVGViewSpec, so this is kept alive as:
|
| + // AnimatedProperty tearoff -(contextElement)-> SVGSVGElement -(RefPtr)->
|
| + // SVGViewSpec.
|
| : SVGFitToViewBox(contextElement, PropertyMapPolicySkip),
|
| m_contextElement(contextElement),
|
| m_transform(
|
| @@ -46,7 +48,8 @@ SVGViewSpec::SVGViewSpec(SVGSVGElement* contextElement)
|
| viewBox()->setReadOnly();
|
| preserveAspectRatio()->setReadOnly();
|
| m_transform->setReadOnly();
|
| - // Note: addToPropertyMap is not needed, as SVGViewSpec do not correspond to an element.
|
| + // Note: addToPropertyMap is not needed, as SVGViewSpec do not correspond to
|
| + // an element.
|
| }
|
|
|
| DEFINE_TRACE(SVGViewSpec) {
|
|
|