Position RenderedPosition::positionAtRightBoundaryOfBiDiRun() const { ASSERT(atRightBoundaryOfBidiRun()); if (atRightmostOffsetInBox()) return Position::editingPositionOf(m_layoutObject->node(), m_offset); return Position::editingPositionOf(prevLeafChild()->layoutObject().node(), prevLeafChild()->caretRightmostOffset()); }
Position RenderedPosition::positionAtRightBoundaryOfBiDiRun() const { ASSERT(atRightBoundaryOfBidiRun()); if (atRightmostOffsetInBox()) return createLegacyEditingPosition(m_renderer->node(), m_offset); return createLegacyEditingPosition(prevLeafChild()->renderer().node(), prevLeafChild()->caretRightmostOffset()); }