Switch createContextualFragment to element iterator
authorantti@apple.com <antti@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 3 Nov 2013 20:19:52 +0000 (20:19 +0000)
committerantti@apple.com <antti@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 3 Nov 2013 20:19:52 +0000 (20:19 +0000)
commit33732bfaea99c17d9132508434704a286d2b9690
tree00d65427e0be4b632a79446439495ca93933c980
parentc15caab06fc52adddd6e458eecf278ead3804b8d
Switch createContextualFragment to element iterator
https://bugs.webkit.org/show_bug.cgi?id=123704

Reviewed by Andreas Kling.

* editing/FrameSelection.cpp:
(WebCore::scanForForm):

    Use type helpers instead of hasTagName

* editing/markup.cpp:
(WebCore::collectElementsToRemoveFromFragment):
(WebCore::removeElementFromFragmentPreservingChildren):
(WebCore::createContextualFragment):
* html/HTMLFormElement.cpp:
(WebCore::HTMLFormElement::formElementIndex):

    Use type helpers instead of hasTagName

* html/HTMLTagNames.in:

    Generate type helpers for <html>.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@158537 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/editing/FrameSelection.cpp
Source/WebCore/editing/markup.cpp
Source/WebCore/html/HTMLFormElement.cpp
Source/WebCore/html/HTMLTagNames.in