Android: Fix potential null-ptr deref
commit62e2fc7f7dd1d2f29c6299efa1535c8894d4cb4c
authorsievers <sievers@chromium.org>
Thu, 5 Feb 2015 00:02:31 +0000 (4 16:02 -0800)
committerCommit bot <commit-bot@chromium.org>
Thu, 5 Feb 2015 00:03:55 +0000 (5 00:03 +0000)
tree51bef258c3c20810e060bef3be487b136a200c95
parente01484c024a19127571536dce4a5ab89ddbc9850
Android: Fix potential null-ptr deref

BrowserGpuChannelHostFactory::GetGpuChannel() can
return NULL. In particular it already checks
IsLost() and returns NULL if that is the case.

BUG=445945

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

Cr-Commit-Position: refs/heads/master@{#314683}
content/browser/renderer_host/render_widget_host_view_android.cc