runEnd = offset - 1;
}
}
if (mightNeedRelayout) {
int runStart = relayoutDataList.getRunStart(runEnd);
Box runEndChild = block.getChild(runEnd);
if (c.getRootLayer().crossesPageBreak(c,
block.getChild(runStart).getAbsY(),
runEndChild.getAbsY() + runEndChild.getHeight())) {
result.setChanged(true);
block.resetChildren(c, runStart, offset);
result.setChildOffset(relayoutRun(c, localChildren, block,
relayoutDataList, runStart, offset, true));
runEndChild = block.getChild(runEnd);
if (c.getRootLayer().crossesPageBreak(c,
block.getChild(runStart).getAbsY(),
runEndChild.getAbsY() + runEndChild.getHeight())) {
block.resetChildren(c, runStart, offset);
result.setChildOffset(relayoutRun(c, localChildren, block,
relayoutDataList, runStart, offset, false));
}
}