diff options
author | Jean-Baptiste Queru <jbq@google.com> | 2010-04-02 10:01:47 -0700 |
---|---|---|
committer | Android Code Review <code-review@android.com> | 2010-04-02 10:01:47 -0700 |
commit | d84a638c00a2c66685f37e34ec513bb9c6acf488 (patch) | |
tree | 028ddb2509f8299bb15b133c01b2da44e62dc71a | |
parent | 81f3384a95b23cdbfa589470ba70b6f21b9d303d (diff) | |
parent | 678167284074a16615474bfdd834aa2e068cfa5a (diff) | |
download | external_webkit-d84a638c00a2c66685f37e34ec513bb9c6acf488.zip external_webkit-d84a638c00a2c66685f37e34ec513bb9c6acf488.tar.gz external_webkit-d84a638c00a2c66685f37e34ec513bb9c6acf488.tar.bz2 |
Merge "Remove some oboslete code."
-rw-r--r-- | WebCore/html/HTMLCollection.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/WebCore/html/HTMLCollection.cpp b/WebCore/html/HTMLCollection.cpp index de4c424..3c14a70 100644 --- a/WebCore/html/HTMLCollection.cpp +++ b/WebCore/html/HTMLCollection.cpp @@ -243,14 +243,6 @@ Node* HTMLCollection::nextItem() const { resetCollectionInfo(); -#ifdef ANDROID_FIX - // resetCollectionInfo() can set info->current to be 0. If this is the - // case, we need to go back to the firstItem. Otherwise traverseNextItem - // will crash. - if (!m_info->current) - return firstItem(); -#endif - // Look for the 'second' item. The first one is currentItem, already given back. Element* retval = itemAfter(m_info->current); m_info->current = retval; |