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

Unified Diff: third_party/WebKit/Source/core/inspector/DOMPatchSupport.cpp

Issue 2743023002: Migrate WTF::Deque::append() to ::push_back() (Closed)
Patch Set: rebase Created 3 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/inspector/DOMPatchSupport.cpp
diff --git a/third_party/WebKit/Source/core/inspector/DOMPatchSupport.cpp b/third_party/WebKit/Source/core/inspector/DOMPatchSupport.cpp
index 5fa7972cb5c57b7c123cf53c6ff2959ff75aa697..dd353c3deb68a5f2c89ffe155db9cdadb4c88431 100644
--- a/third_party/WebKit/Source/core/inspector/DOMPatchSupport.cpp
+++ b/third_party/WebKit/Source/core/inspector/DOMPatchSupport.cpp
@@ -538,12 +538,12 @@ bool DOMPatchSupport::removeChildAndMoveToNew(Digest* oldDigest,
void DOMPatchSupport::markNodeAsUsed(Digest* digest) {
HeapDeque<Member<Digest>> queue;
- queue.append(digest);
+ queue.push_back(digest);
while (!queue.isEmpty()) {
Digest* first = queue.takeFirst();
m_unusedNodesMap.erase(first->m_sha1);
for (size_t i = 0; i < first->m_children.size(); ++i)
- queue.append(first->m_children[i].get());
+ queue.push_back(first->m_children[i].get());
}
}

Powered by Google App Engine
This is Rietveld 408576698