Chromium Code Reviews
DescriptionRevert 142671 - Use WebFrame::replaceMisspelledRange() to replace a misspelled range with text.
Broke spellchecking on Mac (http://crbug.com/133400)
If a page has a selection, RenderView::OnReplace() replaces the selection with the given text. To prevent this problem, this change uses a new WebKit API WebFrame::replaceMisspelledRange() that replaces only a misspelled word with the given text.
BUG=132941
TEST=none
Review URL: https://chromiumcodereview.appspot.com/10536190
TBR=hbono@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=142857
Patch Set 1 #
Messages
Total messages: 3 (0 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||