| Index: Source/core/svg/SVGForeignObjectElement.cpp
|
| diff --git a/Source/core/svg/SVGForeignObjectElement.cpp b/Source/core/svg/SVGForeignObjectElement.cpp
|
| index ef1cae155d910b642c792cdbd81dd4e6d0691e66..04d74d6ab08f7816dd0e8d8365bf61c6d1d29288 100644
|
| --- a/Source/core/svg/SVGForeignObjectElement.cpp
|
| +++ b/Source/core/svg/SVGForeignObjectElement.cpp
|
| @@ -44,6 +44,15 @@ inline SVGForeignObjectElement::SVGForeignObjectElement(Document& document)
|
| UseCounter::count(document, UseCounter::SVGForeignObjectElement);
|
| }
|
|
|
| +void SVGForeignObjectElement::trace(Visitor* visitor)
|
| +{
|
| + visitor->trace(m_x);
|
| + visitor->trace(m_y);
|
| + visitor->trace(m_width);
|
| + visitor->trace(m_height);
|
| + SVGGraphicsElement::trace(visitor);
|
| +}
|
| +
|
| DEFINE_NODE_FACTORY(SVGForeignObjectElement)
|
|
|
| bool SVGForeignObjectElement::isSupportedAttribute(const QualifiedName& attrName)
|
| @@ -73,7 +82,7 @@ bool SVGForeignObjectElement::isPresentationAttribute(const QualifiedName& name)
|
| void SVGForeignObjectElement::collectStyleForPresentationAttribute(const QualifiedName& name, const AtomicString& value, MutableStylePropertySet* style)
|
| {
|
| if (name == SVGNames::widthAttr || name == SVGNames::heightAttr) {
|
| - RefPtr<SVGLength> length = SVGLength::create(LengthModeOther);
|
| + RefPtrWillBeRawPtr<SVGLength> length = SVGLength::create(LengthModeOther);
|
| TrackExceptionState exceptionState;
|
| length->setValueAsString(value, exceptionState);
|
| if (!exceptionState.hadException()) {
|
|
|