Index: Source/core/editing/CreateLinkCommand.cpp |
diff --git a/Source/core/editing/CreateLinkCommand.cpp b/Source/core/editing/CreateLinkCommand.cpp |
index 88f969e5e85ade92b5791d3ed6d06b1bb235ccc3..7f8adffff9fba2f232f09afc8f31344cc5815fa2 100644 |
--- a/Source/core/editing/CreateLinkCommand.cpp |
+++ b/Source/core/editing/CreateLinkCommand.cpp |
@@ -43,7 +43,7 @@ void CreateLinkCommand::doApply() |
return; |
RefPtr<HTMLAnchorElement> anchorElement = HTMLAnchorElement::create(document()); |
- anchorElement->setHref(m_url); |
+ anchorElement->setHref(AtomicString(m_url)); |
if (endingSelection().isRange()) |
applyStyledElement(anchorElement.get()); |