Do NULL checks on TabAndroids retrieved from the model
commit893a2b4298efec20e4d6f74fe524ba64cae01783
authordfalcantara@chromium.org <dfalcantara@chromium.org>
Fri, 5 Sep 2014 20:28:27 +0000 (5 13:28 -0700)
committerdfalcantara@chromium.org <dfalcantara@chromium.org>
Fri, 5 Sep 2014 20:32:46 +0000 (5 20:32 +0000)
treefa04e0f3e818eda3b865eebb684094e145489f90
parentc54cc7cb4a7910f83b6501f8122b06ba5c8b3a45
Do NULL checks on TabAndroids retrieved from the model

There can be TabModels which know about Tabs that are not
alive and cannot yet be instantiated.  Do NULL checks before
checking the Tabs.

BUG=403592
R=dgozman@chromium.org, dtrainor@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#293574}
chrome/browser/android/dev_tools_server.cc