Index: Source/core/inspector/DOMEditor.cpp |
diff --git a/Source/core/inspector/DOMEditor.cpp b/Source/core/inspector/DOMEditor.cpp |
index cd3a1f5981d4d2f0fee807eee466c83bfbdb9cb9..bb29cd98691322f10640d70f85d6f695abd7ae88 100644 |
--- a/Source/core/inspector/DOMEditor.cpp |
+++ b/Source/core/inspector/DOMEditor.cpp |
@@ -370,12 +370,12 @@ bool DOMEditor::removeChild(Node* parentNode, Node* node, ExceptionState& except |
bool DOMEditor::setAttribute(Element* element, const String& name, const String& value, ExceptionState& exceptionState) |
{ |
- return m_history->perform(adoptPtr(new SetAttributeAction(element, name, value)), exceptionState); |
+ return m_history->perform(adoptPtr(new SetAttributeAction(element, AtomicString(name), AtomicString(value))), exceptionState); |
} |
bool DOMEditor::removeAttribute(Element* element, const String& name, ExceptionState& exceptionState) |
{ |
- return m_history->perform(adoptPtr(new RemoveAttributeAction(element, name)), exceptionState); |
+ return m_history->perform(adoptPtr(new RemoveAttributeAction(element, AtomicString(name))), exceptionState); |
} |
bool DOMEditor::setOuterHTML(Node* node, const String& html, Node** newNode, ExceptionState& exceptionState) |