Index: Source/core/dom/Document.cpp |
diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp |
index b2ba85404dafcb1612f45d95646ee0625d1d4edf..107fd9de8103e565d8152f9f135a08b4514fd109 100644 |
--- a/Source/core/dom/Document.cpp |
+++ b/Source/core/dom/Document.cpp |
@@ -887,7 +887,7 @@ PassRefPtr<Node> Document::importNode(Node* importedNode, bool deep, ExceptionSt |
return newElement.release(); |
} |
case ATTRIBUTE_NODE: |
- return Attr::create(this, QualifiedName(nullAtom, toAttr(importedNode)->name(), nullAtom), toAttr(importedNode)->value()); |
+ return Attr::create(*this, QualifiedName(nullAtom, toAttr(importedNode)->name(), nullAtom), toAttr(importedNode)->value()); |
case DOCUMENT_FRAGMENT_NODE: { |
if (importedNode->isShadowRoot()) { |
// ShadowRoot nodes should not be explicitly importable. |
@@ -4336,7 +4336,7 @@ PassRefPtr<Attr> Document::createAttributeNS(const String& namespaceURI, const S |
return 0; |
} |
- return Attr::create(this, qName, emptyString()); |
+ return Attr::create(*this, qName, emptyString()); |
} |
const SVGDocumentExtensions* Document::svgExtensions() |