• darin@apple.com's avatar
    Reviewed by Mark Rowe. · 4dfc68a2
    darin@apple.com authored
            - fix line numbers that were off since my recent patch
    
            * platform/SegmentedString.h:
            (WebCore::SegmentedSubstring::SegmentedSubstring): Reversed the sense of m_excludeLineNumbers
            and rename it to m_doNotExcludeLineNumbers.
            (WebCore::SegmentedSubstring::excludeLineNumbers): Updated.
            (WebCore::SegmentedSubstring::doNotExcludeLineNumbers): Added.
            (WebCore::SegmentedSubstring::setExcludeLineNumbers): Updated.
            (WebCore::SegmentedString::advance): Use doNotExcludeLineNumbers to reverse the sense and fix
            the regression, but keep the speediness. I accidentally had removed a ! here.
    
            * platform/SegmentedString.cpp:
            (WebCore::SegmentedString::advanceSlowCase): Use doNotExcludeLineNumbers.
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@27705 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    4dfc68a2
ChangeLog 321 KB