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

Unified Diff: Source/core/editing/MergeIdenticalElementsCommand.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 | « no previous file | Source/core/editing/SplitElementCommand.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/editing/MergeIdenticalElementsCommand.cpp
diff --git a/Source/core/editing/MergeIdenticalElementsCommand.cpp b/Source/core/editing/MergeIdenticalElementsCommand.cpp
index da7214bc40500fa5d7642c0357d30613ad9d3773..abeae71208c6ebeef766a433b49e59949b8546a5 100644
--- a/Source/core/editing/MergeIdenticalElementsCommand.cpp
+++ b/Source/core/editing/MergeIdenticalElementsCommand.cpp
@@ -49,7 +49,7 @@ void MergeIdenticalElementsCommand::doApply()
m_atChild = m_element2->firstChild();
- Vector<RefPtr<Node> > children;
+ WillBeHeapVector<RefPtrWillBeMember<Node> > children;
for (Node* child = m_element1->firstChild(); child; child = child->nextSibling())
children.append(child);
@@ -65,7 +65,7 @@ void MergeIdenticalElementsCommand::doUnapply()
ASSERT(m_element1);
ASSERT(m_element2);
- RefPtr<Node> atChild = m_atChild.release();
+ RefPtrWillBeRawPtr<Node> atChild = m_atChild.release();
ContainerNode* parent = m_element2->parentNode();
if (!parent || !parent->rendererIsEditable())
@@ -77,7 +77,7 @@ void MergeIdenticalElementsCommand::doUnapply()
if (exceptionState.hadException())
return;
- Vector<RefPtr<Node> > children;
+ WillBeHeapVector<RefPtrWillBeMember<Node> > children;
for (Node* child = m_element2->firstChild(); child && child != atChild; child = child->nextSibling())
children.append(child);
« no previous file with comments | « no previous file | Source/core/editing/SplitElementCommand.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698