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

Unified Diff: third_party/WebKit/Source/core/dom/TreeScopeAdopter.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/dom/TreeScopeAdopter.cpp
diff --git a/third_party/WebKit/Source/core/dom/TreeScopeAdopter.cpp b/third_party/WebKit/Source/core/dom/TreeScopeAdopter.cpp
index 536b7ade1cd1666e83c739282e90a9dbb6c92cec..e16131a3fed5a2c0f82062ae0d49f868283dc422 100644
--- a/third_party/WebKit/Source/core/dom/TreeScopeAdopter.cpp
+++ b/third_party/WebKit/Source/core/dom/TreeScopeAdopter.cpp
@@ -65,7 +65,7 @@ void TreeScopeAdopter::moveTreeToNewScope(Node& root) const
continue;
Element& element = toElement(node);
- if (WillBeHeapVector<RefPtrWillBeMember<Attr>>* attrs = element.attrNodeList()) {
+ if (HeapVector<Member<Attr>>* attrs = element.attrNodeList()) {
for (const auto& attr : *attrs)
moveTreeToNewScope(*attr);
}
@@ -92,7 +92,7 @@ void TreeScopeAdopter::moveTreeToNewDocument(Node& root, Document& oldDocument,
continue;
Element& element = toElement(node);
- if (WillBeHeapVector<RefPtrWillBeMember<Attr>>* attrs = element.attrNodeList()) {
+ if (HeapVector<Member<Attr>>* attrs = element.attrNodeList()) {
for (const auto& attr : *attrs)
moveTreeToNewDocument(*attr, oldDocument, newDocument);
}

Powered by Google App Engine
This is Rietveld 408576698