Skip to content
  • hyatt@apple.com's avatar
    2009-06-12 David Hyatt <hyatt@apple.com> · b3466afc
    hyatt@apple.com authored
            Reviewed by Dan Bernstein.
    
            https://bugs.webkit.org/show_bug.cgi?id=26367
    
            Remove the global variables in bidi.cpp.  Make a new struct, MidpointState, that holds all of the
            midpoint information.  Add the remaining global variables as arguments passed down through functions
            as needed.
    
            * platform/text/BidiResolver.h:
            (WebCore::MidpointState::MidpointState):
            (WebCore::MidpointState::reset):
            (WebCore::BidiResolver::midpointState):
            * rendering/RenderBlock.h:
            * rendering/bidi.cpp:
            (WebCore::BidiRun::operator delete):
            (WebCore::chopMidpointsAt):
            (WebCore::checkMidpoints):
            (WebCore::addMidpoint):
            (WebCore::appendRunsForObject):
            (WebCore::RenderBlock::bidiReorderLine):
            (WebCore::RenderBlock::layoutInlineChildren):
            (WebCore::RenderBlock::determineStartPosition):
            (WebCore::skipNonBreakingSpace):
            (WebCore::shouldCollapseWhiteSpace):
            (WebCore::requiresLineBox):
            (WebCore::RenderBlock::generatesLineBoxesForInlineChild):
            (WebCore::RenderBlock::skipTrailingWhitespace):
            (WebCore::RenderBlock::skipLeadingWhitespace):
            (WebCore::shouldSkipWhitespaceAfterStartObject):
            (WebCore::RenderBlock::findNextLineBreak):
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44649 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    b3466afc