Index: Source/core/svg/SVGElementInstance.cpp |
diff --git a/Source/core/svg/SVGElementInstance.cpp b/Source/core/svg/SVGElementInstance.cpp |
index 7bf604809b4bfd47990b7865215bef6642224afa..3e835c184e4a1412bd0fd244deb80363db40809e 100644 |
--- a/Source/core/svg/SVGElementInstance.cpp |
+++ b/Source/core/svg/SVGElementInstance.cpp |
@@ -149,7 +149,7 @@ void SVGElementInstance::detach() |
m_directUseElement = 0; |
m_correspondingUseElement = 0; |
- removeDetachedChildrenInContainer<SVGElementInstance, SVGElementInstance>(this); |
+ removeDetachedChildrenInContainer<SVGElementInstance, SVGElementInstance>(*this); |
} |
PassRefPtr<SVGElementInstanceList> SVGElementInstance::childNodes() |
@@ -165,7 +165,7 @@ void SVGElementInstance::setShadowTreeElement(SVGElement* element) |
void SVGElementInstance::appendChild(PassRefPtr<SVGElementInstance> child) |
{ |
- appendChildToContainer<SVGElementInstance, SVGElementInstance>(child.get(), this); |
+ appendChildToContainer<SVGElementInstance, SVGElementInstance>(*child, *this); |
} |
void SVGElementInstance::invalidateAllInstancesOfElement(SVGElement* element) |