Check for host before invoking its function

This patch checks for the host before invoking a function call on it.

Bug: 931827
Change-Id: I14b478683238f0bb4cd55672abef5228f5b58e22
Component: RenderwidgetHostViewAura
Reviewed-on: https://chromium-review.googlesource.com/c/1470720
Reviewed-by: Sadrul Chowdhury <sadrul@chromium.org>
Commit-Queue: Malay Keshav <malaykeshav@chromium.org>
Cr-Commit-Position: refs/heads/master@{#633381}
1 file changed