Fix style sharing optimization to be fast again. Go back to using pointer compariso...
authorhyatt <hyatt@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 5 Oct 2004 23:02:59 +0000 (23:02 +0000)
committerhyatt <hyatt@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 5 Oct 2004 23:02:59 +0000 (23:02 +0000)
commitcbbd29399be20cd58c15829b1cde3e8ec3f78567
treece899a1ad36d474589f510a2acc6fea3fc4aed5a
parentd537d219034f7e0bfe5a2902979901cd001da64f
Fix style sharing optimization to be fast again.  Go back to using pointer comparisons when looking for
cousins to share.

        Reviewed by darin

        * khtml/css/cssstyleselector.cpp:
        (khtml::CSSStyleSelector::locateCousinList):
        * khtml/rendering/render_object.cpp:
        (RenderObject::setStyleInternal):
        * khtml/rendering/render_object.h:
        * khtml/xml/dom_elementimpl.cpp:
        (ElementImpl::recalcStyle):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@7775 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog-2005-08-23
WebCore/khtml/css/cssstyleselector.cpp
WebCore/khtml/rendering/render_object.cpp
WebCore/khtml/rendering/render_object.h
WebCore/khtml/xml/dom_elementimpl.cpp