removing one use of parent() in WebView