git://git.webkit.org
/
WebKit-https.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Iterating backwards over HTMLCollection is O(n^2)
[WebKit-https.git]
/
Source
/
WebCore
/
html
/
HTMLAllCollection.cpp
diff --git
a/Source/WebCore/html/HTMLAllCollection.cpp
b/Source/WebCore/html/HTMLAllCollection.cpp
index
a008ff0
..
e769b26
100644
(file)
--- a/
Source/WebCore/html/HTMLAllCollection.cpp
+++ b/
Source/WebCore/html/HTMLAllCollection.cpp
@@
-36,7
+36,7
@@
PassRefPtr<HTMLAllCollection> HTMLAllCollection::create(Document* document)
}
HTMLAllCollection::HTMLAllCollection(Document* document)
- : HTMLCollection(document, DocAll)
+ : HTMLCollection(document, DocAll
, SupportItemBefore
)
{
}