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

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

Issue 450273003: Uninline HTMLCollection / LiveNodeList's item() and length() member functions (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 4 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.cpp ('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/HTMLCollection.h
diff --git a/Source/core/html/HTMLCollection.h b/Source/core/html/HTMLCollection.h
index 48a38922b559cc508a8d4c7cfbd2b5e196ed6691..8fd499f7da1a5af8a69a6df47de18fdd12795e8c 100644
--- a/Source/core/html/HTMLCollection.h
+++ b/Source/core/html/HTMLCollection.h
@@ -45,8 +45,8 @@ public:
void invalidateCacheForAttribute(const QualifiedName*) const;
// DOM API
- unsigned length() const { return m_collectionIndexCache.nodeCount(*this); }
- Element* item(unsigned offset) const { return m_collectionIndexCache.nodeAt(*this, offset); }
+ unsigned length() const;
+ Element* item(unsigned offset) const;
virtual Element* namedItem(const AtomicString& name) const;
bool namedPropertyQuery(const AtomicString&, ExceptionState&);
void namedPropertyEnumerator(Vector<String>& names, ExceptionState&);
« no previous file with comments | « Source/core/dom/LiveNodeList.cpp ('k') | Source/core/html/HTMLCollection.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698