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

Unified Diff: Source/core/html/CollectionType.h

Issue 120593002: Move traverseLiveNodeListForwardToOffset() to LiveNodeList class (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 6 years, 12 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/dom/LiveNodeList.h ('k') | Source/core/html/HTMLCollection.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/CollectionType.h
diff --git a/Source/core/html/CollectionType.h b/Source/core/html/CollectionType.h
index df65cadbc9010bb9f1c700a1e265261d3759a52d..d63a3bc55a20381c6d0f913a97431f29868e65b6 100644
--- a/Source/core/html/CollectionType.h
+++ b/Source/core/html/CollectionType.h
@@ -63,11 +63,11 @@ enum CollectionType {
LabelsNodeListType,
};
-static const CollectionType FirstNodeListType = ChildNodeListType;
+static const CollectionType FirstLiveNodeListType = ChildNodeListType;
-inline bool isNodeList(CollectionType type)
+inline bool isLiveNodeListType(CollectionType type)
{
- return type >= FirstNodeListType;
+ return type >= FirstLiveNodeListType;
}
} // namespace
« no previous file with comments | « Source/core/dom/LiveNodeList.h ('k') | Source/core/html/HTMLCollection.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698