Follow-up: iOS: Updating input mode should update the software keyboard
authorddkilzer@apple.com <ddkilzer@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 19 Jan 2019 17:38:40 +0000 (17:38 +0000)
committerddkilzer@apple.com <ddkilzer@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 19 Jan 2019 17:38:40 +0000 (17:38 +0000)
commitd4025f4ad3a5bfdc0c5ed2ef2061a4700b75d3d2
tree8a1657a2a4800092260684fcd583e6f66fc6ffd6
parentcaf68471c0b0d07e9494b919014dee450fcf5e77
Follow-up: iOS: Updating input mode should update the software keyboard
<https://bugs.webkit.org/show_bug.cgi?id=193565>
<rdar://problem/47376334>

* WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::focusedElementDidChangeInputMode): Fix iOS
Debug builds after r240199 by downcasting `element` to
`HTMLElement` before calling canonicalInputMode().

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@240203 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebKit/ChangeLog
Source/WebKit/WebProcess/WebPage/WebPage.cpp