void PendingSelection::setSelection(const FrameSelection& selection)
{
    m_selection = selection.selection();
    m_shouldShowBlockCursor = selection.shouldShowBlockCursor();
    m_hasPendingSelection = true;
}