Index: Source/core/dom/Element.cpp |
diff --git a/Source/core/dom/Element.cpp b/Source/core/dom/Element.cpp |
index cae91a42753dc7dc39a08010846f30a94f4adbeb..416514120852be1468dafee7f501ea2cd9b4a870 100644 |
--- a/Source/core/dom/Element.cpp |
+++ b/Source/core/dom/Element.cpp |
@@ -1232,7 +1232,7 @@ Node::InsertionNotificationRequest Element::insertedInto(ContainerNode* insertio |
elementRareData()->clearClassListValueForQuirksMode(); |
if (isUpgradedCustomElement() && inDocument()) |
- CustomElement::didEnterDocument(this, &document()); |
+ CustomElement::didEnterDocument(this, document()); |
TreeScope* scope = insertionPoint->treeScope(); |
if (scope != treeScope()) |
@@ -1301,7 +1301,7 @@ void Element::removedFrom(ContainerNode* insertionPoint) |
document().accessSVGExtensions()->removeElementFromPendingResources(this); |
if (isUpgradedCustomElement()) |
- CustomElement::didLeaveDocument(this, &insertionPoint->document()); |
+ CustomElement::didLeaveDocument(this, insertionPoint->document()); |
} |
if (hasRareData()) |