-
zoltan@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=127154 Reviewed by David Hyatt. I modified MidpointState to behave like a class, updated the call sites also. No new tests, no behavior change. * platform/text/BidiResolver.h: (WebCore::MidpointState::reset): (WebCore::MidpointState::startIgnoringSpaces): (WebCore::MidpointState::stopIgnoringSpaces): (WebCore::MidpointState::midpoints): (WebCore::MidpointState::numMidpoints): (WebCore::MidpointState::currentMidpoint): (WebCore::MidpointState::incrementCurrentMidpoint): (WebCore::MidpointState::decreaseNumMidpoints): (WebCore::MidpointState::betweenMidpoints): (WebCore::MidpointState::setBetweenMidpoints): (WebCore::MidpointState::addMidpoint): Renamed from deprecatedAddMidpoint, since now its private, we no longer need to discourage callers from using it. * rendering/InlineIterator.h: (WebCore::IsolateTracker::addFakeRunIfNecessary): * rendering/RenderBlockLineLayout.cpp: (WebCore::RenderBlockFlow::appendRunsForObject): (WebCore::constructBidiRunsForLine): * rendering/line/BreakingContextInlineHeaders.h: (WebCore::checkMidpoints): * rendering/line/TrailingObjects.cpp: (WebCore::TrailingObjects::updateMidpointsForTrailingBoxes): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@162472 268f45cc-cd09-0410-ab3c-d52691b4dbfc
7585ad5d