[Webkit-unassigned] [Bug 66980] New: Remove use of magic number -1 in WebCore/editing/visible_units.cpp

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Aug 25 14:28:22 PDT 2011


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

           Summary: Remove use of magic number -1 in
                    WebCore/editing/visible_units.cpp
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: UNCONFIRMED
          Severity: Minor
          Priority: P2
         Component: HTML Editing
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: vanlam at google.com


Currently two functions greatestOffsetUnder and smallestOffsetAbove return -1 to indicate that the correct word boundary to move to is not found. Should be using a constant to make this more clear.

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