Skip to content
  • mitz@apple.com's avatar
    Reviewed by Dave Hyatt. · 887f359e
    mitz@apple.com authored
            - remove file-static BidiRun variables from bidi.cpp
    
            * platform/text/BidiResolver.h:
            (WebCore::BidiResolver::): Initialize m_logicallyLastRun.
            (WebCore::BidiResolver::logicallyLastRun): Added.
            (WebCore::BidiResolver::runCount): Made unsigned.
            (WebCore::::reverseRuns): Changed ints to unsigned.
            (WebCore::::createBidiRunsForLine): Made this function set
            m_logicallyLastRun.
            * rendering/RenderBlock.h:
            * rendering/bidi.cpp:
            (WebCore::BidiState::addRun): Removed setting of sLogicallyLastBidiRun.
            (WebCore::RenderBlock::constructLine): Removed unused start parameter
            and added run count and first and last run parameters. Replaced end
            parameter with lastLine boolean and endObject pointer.
            (WebCore::RenderBlock::computeHorizontalPositionsForLine): Added first
            and logically last run parameters.
            (WebCore::RenderBlock::computeVerticalPositionsForLine): Added firstRun
            parameter.
            (WebCore::RenderBlock::bidiReorderLine): Removed setting of static
            variables.
            (WebCore::RenderBlock::layoutInlineChildren): Changed to use BidiState
            accessors instead of file statics.
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@30575 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    887f359e