Reviewed, tweaked, and landed by Darin.
authordarin <darin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 10 May 2006 07:12:56 +0000 (07:12 +0000)
committerdarin <darin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 10 May 2006 07:12:56 +0000 (07:12 +0000)
commit9faf9fa949e378fe190c07d2810cc65305b78a29
treec24aec2f6b46c382b8c9f539ea13a2bb98834f37
parent8d5c9fd4551289e26a34b277cacad4383c23fe70
    Reviewed, tweaked, and landed by Darin.

        Optimization of [DOMNode _nodeWith:] to look up the obj-c wrapperClass
        for each HTMLElement using a HashMap instead of by repeated calls to
        htmlElt->hasLocalName(someTag).

        * bindings/objc/DOM.mm:
        (addElementClass): Added.
        (createHTMLElementClassMap):
        (elementClass):
        (+[DOMNode _nodeWith:]): Added code to call elementClass.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@14279 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog
WebCore/bindings/objc/DOM.mm