Convert selectionRect() from using a list to a dict and patch it to be like setSelec...
authorhyatt <hyatt@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 26 Oct 2004 20:15:08 +0000 (20:15 +0000)
committerhyatt <hyatt@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 26 Oct 2004 20:15:08 +0000 (20:15 +0000)
commit1c5c26db6c8d4d348e61ed19bd40f61887a100a6
tree3edfdbff19a67f49913f2ab570c2b50033a8fcf8
parent0152fbb6db91429e001f544e1cc464c14d68ac66
Convert selectionRect() from using a list to a dict and patch it to be like setSelection.  It was still trying
to use the old dirty bit optimization (which had been removed), and so it was pathologically slow on large documents.

        Reviewed by kocienda

        * khtml/rendering/render_canvas.cpp:
        (RenderCanvas::selectionRect):
        * khtml/rendering/render_object.h:
        (khtml::RenderObject::hasSelectedChildren):

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