• rniwa@webkit.org's avatar
    2011-03-14 Ryosuke Niwa <rniwa@webkit.org> · bf71fc82
    rniwa@webkit.org authored
            Reviewed by Darin Adler.
    
            EventHandler calls shouldChangeSelection needlessly
            https://bugs.webkit.org/show_bug.cgi?id=56324
    
            Extracted setSelectionIfNeeded and setNonDirectionalSelectionIfNeeded and
            avoided calling shouldChangeSelection and setSelection when the existing
            selection is identical to that of new selection.
    
            * page/EventHandler.cpp:
            (WebCore::setSelectionIfNeeded): Extracted.
            (WebCore::setNonDirectionalSelectionIfNeeded): Extracted.
            (WebCore::EventHandler::selectClosestWordFromMouseEvent): Calls a helper function above.
            (WebCore::EventHandler::selectClosestWordOrLinkFromMouseEvent): Ditto.
            (WebCore::EventHandler::handleMousePressEventTripleClick): Ditto.
            (WebCore::EventHandler::handleMousePressEventSingleClick): Ditto.
            (WebCore::EventHandler::updateSelectionForMouseDrag): Ditto.
            (WebCore::EventHandler::handleMouseReleaseEvent): Ditto.
    2011-03-14  Anton Muhin  <antonm@chromium.org>
    
            Reviewed by Adam Barth.
    
            [v8] Rework object group building.
            https://bugs.webkit.org/show_bug.cgi?id=55399
    
            Instead of going top-down (from owner to owned elements), go up---from objects
            to their group ids.  That fits better to v8's object grouping model and guarantees
            that each wrapper belongs to the single group.
    
            Alas, this cannot be implemented for one kind of objects---CSSProperties.
    
            Part of core GC algorithm and tested extensively by exisiting layout tests.
    
            * platform/chromium/test_expectations.txt: Temporary suppress text differences.
    
    
    git-svn-id: svn://svn.chromium.org/blink/trunk@81095 bbb929c8-8fbe-4397-9dbb-9b2b20218538
    bf71fc82
ChangeLog 1.13 MB
The source could not be displayed because it is larger than 1 MB. You can load it anyway or download it instead.