Change WebViewImpl::compositionRange to avoid crashing on RemoteFrame

BUG=399775

Review URL: https://codereview.chromium.org/621743005

git-svn-id: svn://svn.chromium.org/blink/trunk@183096 bbb929c8-8fbe-4397-9dbb-9b2b20218538