| Index: Source/core/dom/Document.cpp
|
| diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp
|
| index 934018a058c9f33e5f07dd6707fcf86f5716996a..f1020f217778f361b445671d23498af754ddf914 100644
|
| --- a/Source/core/dom/Document.cpp
|
| +++ b/Source/core/dom/Document.cpp
|
| @@ -875,7 +875,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, AtomicString(toAttr(importedNode)->name()), nullAtom), toAttr(importedNode)->value());
|
| case DOCUMENT_FRAGMENT_NODE: {
|
| if (importedNode->isShadowRoot()) {
|
| // ShadowRoot nodes should not be explicitly importable.
|
| @@ -4231,7 +4231,7 @@ PassRefPtr<Attr> Document::createAttributeNS(const AtomicString& namespaceURI, c
|
| return 0;
|
| }
|
|
|
| - return Attr::create(*this, qName, emptyString());
|
| + return Attr::create(*this, qName, emptyAtom);
|
| }
|
|
|
| const SVGDocumentExtensions* Document::svgExtensions()
|
|
|