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

Unified Diff: Source/core/html/HTMLCollection.cpp

Issue 119063002: Have HTMLFormElement's named getter return a RadioNodeList. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Test style adjustments + const'ify new RadioNodeList field. Created 7 years 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/html/CollectionType.h ('k') | Source/core/html/HTMLFormElement.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLCollection.cpp
diff --git a/Source/core/html/HTMLCollection.cpp b/Source/core/html/HTMLCollection.cpp
index a0edbbc2f208a1b2285f96ac7171948e3dc2f838..b78c2800dbd1161e593df2c51c7c3f73a4c0dc09 100644
--- a/Source/core/html/HTMLCollection.cpp
+++ b/Source/core/html/HTMLCollection.cpp
@@ -68,6 +68,7 @@ static bool shouldOnlyIncludeDirectChildren(CollectionType type)
case TagNodeListType:
case HTMLTagNodeListType:
case RadioNodeListType:
+ case RadioImgNodeListType:
case LabelsNodeListType:
break;
}
@@ -106,6 +107,7 @@ static NodeListRootType rootTypeFromCollectionType(CollectionType type)
case TagNodeListType:
case HTMLTagNodeListType:
case RadioNodeListType:
+ case RadioImgNodeListType:
case LabelsNodeListType:
break;
}
@@ -150,6 +152,7 @@ static NodeListInvalidationType invalidationTypeExcludingIdAndNameAttributes(Col
case TagNodeListType:
case HTMLTagNodeListType:
case RadioNodeListType:
+ case RadioImgNodeListType:
case LabelsNodeListType:
break;
}
@@ -232,6 +235,7 @@ template <> inline bool isMatchingElement(const HTMLCollection* htmlCollection,
case TagNodeListType:
case HTMLTagNodeListType:
case RadioNodeListType:
+ case RadioImgNodeListType:
case LabelsNodeListType:
ASSERT_NOT_REACHED();
}
« no previous file with comments | « Source/core/html/CollectionType.h ('k') | Source/core/html/HTMLFormElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698