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

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

Issue 309283002: Oilpan: convert remaining editing/ RefPtr<Node>s to transition types. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 7 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
« no previous file with comments | « Source/core/editing/SplitElementCommand.cpp ('k') | Source/core/editing/markup.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/editing/WrapContentsInDummySpanCommand.cpp
diff --git a/Source/core/editing/WrapContentsInDummySpanCommand.cpp b/Source/core/editing/WrapContentsInDummySpanCommand.cpp
index b63e16ec5020769b825e029f481de017022f69ee..f615a556743d1c1d7aff534406259516159d52e3 100644
--- a/Source/core/editing/WrapContentsInDummySpanCommand.cpp
+++ b/Source/core/editing/WrapContentsInDummySpanCommand.cpp
@@ -41,7 +41,7 @@ WrapContentsInDummySpanCommand::WrapContentsInDummySpanCommand(PassRefPtrWillBeR
void WrapContentsInDummySpanCommand::executeApply()
{
- Vector<RefPtr<Node> > children;
+ WillBeHeapVector<RefPtrWillBeMember<Node> > children;
for (Node* child = m_element->firstChild(); child; child = child->nextSibling())
children.append(child);
@@ -66,7 +66,7 @@ void WrapContentsInDummySpanCommand::doUnapply()
if (!m_dummySpan || !m_element->rendererIsEditable())
return;
- Vector<RefPtr<Node> > children;
+ WillBeHeapVector<RefPtrWillBeMember<Node> > children;
for (Node* child = m_dummySpan->firstChild(); child; child = child->nextSibling())
children.append(child);
« no previous file with comments | « Source/core/editing/SplitElementCommand.cpp ('k') | Source/core/editing/markup.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698