Add missing null-checks.
commitc2401a37a0ba385317e71cb430356458328a12df
authorigsolla <igsolla@chromium.org>
Thu, 2 Oct 2014 10:09:09 +0000 (2 03:09 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 2 Oct 2014 10:09:50 +0000 (2 10:09 +0000)
treec4c737ab3b4550f7ca1e6222f7fc5f06e21f772e
parent4db84b031042bf4f99720372f657ff53e4503a16
Add missing null-checks.

These null-checks were inadvertedly removed during this
refactoring:
https://codereview.chromium.org/481803004/

getWebContents() can return null after destruction
so we need to null-check before use.

BUG=415666

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

Cr-Commit-Position: refs/heads/master@{#297795}
android_webview/java/src/org/chromium/android_webview/AwWebContentsDelegateAdapter.java