The code in EditorClientQt that sets the input method hints is inefficient.
When setting indiviual input method hints we end up calling QWidget::setInputMethodHints for every individual flag, which by itself results in a call to update() in the input method implementation.
A better solution would be to accumulate the input method hints and set them at once. This requires minor changes to the QWebPageClient interface.
Created attachment 63578 [details]
Committed r64737: <http://trac.webkit.org/changeset/64737>
Revision r64737 cherry-picked into qtwebkit-2.1 with commit d22010b8f31d348848d25be618fa6f911dacf9da