[CB-4950] Remove the dependence on concrete component android.webkit.WebView.

(cherry picked from commit c5a5680c834d2310ac67725489d628a7e2408404)