if (clearDOMTreeSelection)
setSelection(VisibleSelection(), DoNotSetFocus);
+
+#if ENABLE(TIZEN_WEBKIT2_TEXT_SELECTION)
+ if(clearRenderTreeSelection && !clearDOMTreeSelection && (startRemoved || endRemoved))
+ m_frame->editor()->client()->respondToChangedSelection(m_frame);
+#endif
}
static void updatePositionAfterAdoptingTextReplacement(Position& position, CharacterData* node, unsigned offset, unsigned oldLength, unsigned newLength)