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

Unified Diff: third_party/WebKit/Source/core/dom/StaticNodeList.h

Issue 2317083003: Use type aliases for StaticElementList/StaticNodeList (Closed)
Patch Set: Created 4 years, 3 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/StaticNodeList.h
diff --git a/third_party/WebKit/Source/core/dom/StaticNodeList.h b/third_party/WebKit/Source/core/dom/StaticNodeList.h
index c150964c38f2e3ab2c64c5055995dfdd51285662..4ae8cca46c04b1888a6edcbc9cdacca4f420ff52 100644
--- a/third_party/WebKit/Source/core/dom/StaticNodeList.h
+++ b/third_party/WebKit/Source/core/dom/StaticNodeList.h
@@ -58,8 +58,7 @@ private:
HeapVector<Member<NodeType>> m_nodes;
};
-typedef StaticNodeTypeList<Node> StaticNodeList;
-typedef StaticNodeTypeList<Element> StaticElementList;
+using StaticNodeList = StaticNodeTypeList<Node>;
template <typename NodeType>
StaticNodeTypeList<NodeType>* StaticNodeTypeList<NodeType>::adopt(HeapVector<Member<NodeType>>& nodes)
« no previous file with comments | « third_party/WebKit/Source/core/dom/SelectorQuery.h ('k') | third_party/WebKit/Source/core/testing/Internals.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698