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

Unified Diff: third_party/WebKit/Source/core/html/HTMLAllCollection.idl

Issue 2572003003: NOT FOR SUBMIT: use counters for jdm@
Patch Set: Merge branch 'jdm-usecounters' into jdm-merge Created 4 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
Index: third_party/WebKit/Source/core/html/HTMLAllCollection.idl
diff --git a/third_party/WebKit/Source/core/html/HTMLAllCollection.idl b/third_party/WebKit/Source/core/html/HTMLAllCollection.idl
index 01555a4cde61dcf15689efa10eb93f19425038b0..de9130e1f59883409279b81167c77182d6a5da25 100644
--- a/third_party/WebKit/Source/core/html/HTMLAllCollection.idl
+++ b/third_party/WebKit/Source/core/html/HTMLAllCollection.idl
@@ -31,12 +31,12 @@
DependentLifetime,
SetWrapperReferenceFrom=ownerNode,
] interface HTMLAllCollection {
- readonly attribute unsigned long length;
- [ImplementedAs=item] getter Element (unsigned long index);
+ [MeasureAs=DocumentAllCollection] readonly attribute unsigned long length;
+ [ImplementedAs=item, MeasureAs=DocumentAllCollection] getter Element (unsigned long index);
// FIXME: The custom item() implementation may return a NodeList, but the
// spec has a (HTMLCollection or Element)? item(DOMString name) method.
- [Custom] Element? item([Default=Undefined] optional unsigned long index);
+ [Custom, MeasureAs=DocumentAllCollection] Element? item([Default=Undefined] optional unsigned long index);
// FIXME: namedItem() should be a legacycaller.
// FIXME: namedItem() should return an (HTMLCollection or Element)? union.
- [ImplementedAs=namedGetter] getter (NodeList or Element)? namedItem(DOMString name);
+ [ImplementedAs=namedGetter, MeasureAs=DocumentAllCollection] getter (NodeList or Element)? namedItem(DOMString name);
};

Powered by Google App Engine
This is Rietveld 408576698