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

Unified Diff: third_party/WebKit/Source/core/editing/commands/CreateLinkCommand.cpp

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 months 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: third_party/WebKit/Source/core/editing/commands/CreateLinkCommand.cpp
diff --git a/third_party/WebKit/Source/core/editing/commands/CreateLinkCommand.cpp b/third_party/WebKit/Source/core/editing/commands/CreateLinkCommand.cpp
index 7fb7da3ef32d00f105eef6fa2edaa36fe0983fc3..83b1ad52feff44b07bc04edc63137082819e2a38 100644
--- a/third_party/WebKit/Source/core/editing/commands/CreateLinkCommand.cpp
+++ b/third_party/WebKit/Source/core/editing/commands/CreateLinkCommand.cpp
@@ -41,7 +41,7 @@ void CreateLinkCommand::doApply(EditingState* editingState)
if (endingSelection().isNone())
return;
- RefPtrWillBeRawPtr<HTMLAnchorElement> anchorElement = HTMLAnchorElement::create(document());
+ RawPtr<HTMLAnchorElement> anchorElement = HTMLAnchorElement::create(document());
anchorElement->setHref(AtomicString(m_url));
if (endingSelection().isRange()) {
@@ -52,7 +52,7 @@ void CreateLinkCommand::doApply(EditingState* editingState)
insertNodeAt(anchorElement.get(), endingSelection().start(), editingState);
if (editingState->isAborted())
return;
- RefPtrWillBeRawPtr<Text> textNode = Text::create(document(), m_url);
+ RawPtr<Text> textNode = Text::create(document(), m_url);
appendNode(textNode.get(), anchorElement.get(), editingState);
if (editingState->isAborted())
return;

Powered by Google App Engine
This is Rietveld 408576698