Searched refs:newRuns (Results 1 – 1 of 1) sorted by relevance
63 void replaceRunWithRuns(Run* toReplace, BidiRunList<Run>& newRuns);145 void BidiRunList<Run>::replaceRunWithRuns(Run* toReplace, BidiRunList<Run>& newRuns) in replaceRunWithRuns() argument147 ASSERT(newRuns.runCount()); in replaceRunWithRuns()152 m_firstRun = newRuns.firstRun(); in replaceRunWithRuns()159 previousRun->setNext(newRuns.firstRun()); in replaceRunWithRuns()162 newRuns.lastRun()->setNext(toReplace->next()); in replaceRunWithRuns()166 m_lastRun = newRuns.lastRun(); in replaceRunWithRuns()168 m_logicallyLastRun = newRuns.logicallyLastRun(); in replaceRunWithRuns()169 m_runCount += newRuns.runCount() - 1; // We added the new runs and removed toReplace. in replaceRunWithRuns()172 newRuns.clearWithoutDestroyingRuns(); in replaceRunWithRuns()