Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(572)

Unified Diff: Source/core/editing/CreateLinkCommand.cpp

Issue 110723005: Make calls to AtomicString(const String&) explicit in editing/ (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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());

Powered by Google App Engine
This is Rietveld 408576698