Index: Source/core/dom/Document.h |
diff --git a/Source/core/dom/Document.h b/Source/core/dom/Document.h |
index 4e83e442691b9f6f57911f38fcd66266701d2ca7..b1cc65c6999f96acd7cbb4abd21dca8c0e7219d0 100644 |
--- a/Source/core/dom/Document.h |
+++ b/Source/core/dom/Document.h |
@@ -290,11 +290,11 @@ public: |
PassRefPtr<Comment> createComment(const String& data); |
PassRefPtr<CDATASection> createCDATASection(const String& data, ExceptionState&); |
PassRefPtr<ProcessingInstruction> createProcessingInstruction(const String& target, const String& data, ExceptionState&); |
- PassRefPtr<Attr> createAttribute(const String& name, ExceptionState&); |
- PassRefPtr<Attr> createAttributeNS(const String& namespaceURI, const String& qualifiedName, ExceptionState&, bool shouldIgnoreNamespaceChecks = false); |
+ PassRefPtr<Attr> createAttribute(const AtomicString& name, ExceptionState&); |
+ PassRefPtr<Attr> createAttributeNS(const AtomicString& namespaceURI, const AtomicString& qualifiedName, ExceptionState&, bool shouldIgnoreNamespaceChecks = false); |
PassRefPtr<Node> importNode(Node* importedNode, ExceptionState& ec) { return importNode(importedNode, true, ec); } |
PassRefPtr<Node> importNode(Node* importedNode, bool deep, ExceptionState&); |
- PassRefPtr<Element> createElementNS(const String& namespaceURI, const String& qualifiedName, ExceptionState&); |
+ PassRefPtr<Element> createElementNS(const AtomicString& namespaceURI, const AtomicString& qualifiedName, ExceptionState&); |
PassRefPtr<Element> createElement(const QualifiedName&, bool createdByParser); |
PassRefPtr<DOMNamedFlowCollection> webkitGetNamedFlows(); |
@@ -754,7 +754,7 @@ public: |
// The following breaks a qualified name into a prefix and a local name. |
// It also does a validity check, and returns false if the qualified name |
// is invalid. It also sets ExceptionCode when name is invalid. |
- static bool parseQualifiedName(const String& qualifiedName, String& prefix, String& localName, ExceptionState&); |
+ static bool parseQualifiedName(const AtomicString& qualifiedName, AtomicString& prefix, AtomicString& localName, ExceptionState&); |
// Checks to make sure prefix and namespace do not conflict (per DOM Core 3) |
static bool hasValidNamespaceForElements(const QualifiedName&); |
@@ -944,7 +944,7 @@ public: |
FastTextAutosizer* fastTextAutosizer(); |
PassRefPtr<Element> createElement(const AtomicString& localName, const AtomicString& typeExtension, ExceptionState&); |
- PassRefPtr<Element> createElementNS(const AtomicString& namespaceURI, const String& qualifiedName, const AtomicString& typeExtension, ExceptionState&); |
+ PassRefPtr<Element> createElementNS(const AtomicString& namespaceURI, const AtomicString& qualifiedName, const AtomicString& typeExtension, ExceptionState&); |
ScriptValue registerElement(WebCore::ScriptState*, const AtomicString& name, ExceptionState&); |
ScriptValue registerElement(WebCore::ScriptState*, const AtomicString& name, const Dictionary& options, ExceptionState&, CustomElement::NameSet validNames = CustomElement::StandardNames); |
CustomElementRegistrationContext* registrationContext() { return m_registrationContext.get(); } |