[Webkit-unassigned] [Bug 73984] New: TypingCommand duplicates code to obtain the last typing command

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Dec 6 23:48:22 PST 2011


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

           Summary: TypingCommand duplicates code to obtain the last
                    typing command
           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, justin.garcia at apple.com,
                    enrica at apple.com, leviw at chromium.org
            Blocks: 64414


Lots of code like:

    ASSERT(document);

    Frame* frame = document->frame();
    ASSERT(frame);

    EditCommand* lastEditCommand = frame->editor()->lastEditCommand();
    if (isOpenForMoreTypingCommand(lastEditCommand)) {

is duplicated throughout TypingCommand.

-- 
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