[Webkit-unassigned] [Bug 68866] New: CompositeEditCommand::prune should remove subtree at once

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Sep 26 21:37:32 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=68866

           Summary: CompositeEditCommand::prune should remove subtree at
                    once
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: HTML Editing
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: rniwa at webkit.org
                CC: darin at apple.com, tony at chromium.org, ojan at chromium.org,
                    tonikitoo at webkit.org, kenneth at webkit.org,
                    tkent at chromium.org, cshu at webkit.org, enrica at apple.com,
                    morrita at google.com


The way CompositeEditCommand::prune is implemented now is quite inefficient. It removes the deepest node and climb up the tree to remove ancestors. Instead, we can just figure out the highest node to remove and get rid of the subtree at once.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list