diff options
author | tbarzic@chromium.org <tbarzic@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-01-17 04:22:08 +0000 |
---|---|---|
committer | tbarzic@chromium.org <tbarzic@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-01-17 04:22:08 +0000 |
commit | acc15da18dabe2cbdddba8ab4d71d5dfa9b35a58 (patch) | |
tree | 77af90bc10dea27699c778bac9acc7f5de0e1935 /net/quic | |
parent | 5d8df5006079fbb3090c527f7c1e8416e434e542 (diff) | |
download | chromium_src-acc15da18dabe2cbdddba8ab4d71d5dfa9b35a58.zip chromium_src-acc15da18dabe2cbdddba8ab4d71d5dfa9b35a58.tar.gz chromium_src-acc15da18dabe2cbdddba8ab4d71d5dfa9b35a58.tar.bz2 |
Add some null checks to ShowInfobar in nacl_infobar.cc
By the time request for showing the infobar reaches UI thread, the tab/window may already
be gone, so Chrome could crash without this
(for example: app with NaCl module that has empty Native Client manifest
(or manifest that doesn't have nexe for current platform) that imediately closes
the current tab)
BUG=167910
TEST=Verified the described app doesn't cause browser crash
TBR=sehr@chromium.org
Review URL: https://chromiumcodereview.appspot.com/11975002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@177347 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/quic')
0 files changed, 0 insertions, 0 deletions