Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(365)

Issue 542953002: Do NULL checks on TabAndroids retrieved from the model (Closed)

Created:
6 years, 3 months ago by gone
Modified:
6 years, 3 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

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 Committed: https://chromium.googlesource.com/chromium/src/+/893a2b4298efec20e4d6f74fe524ba64cae01783

Patch Set 1 #

Patch Set 2 : #

Total comments: 1

Patch Set 3 : style #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -1 line) Patch
M chrome/browser/android/dev_tools_server.cc View 1 2 3 chunks +7 lines, -1 line 0 comments Download

Messages

Total messages: 17 (6 generated)
dgozman
https://chromiumcodereview.appspot.com/542953002/diff/20001/chrome/browser/android/dev_tools_server.cc File chrome/browser/android/dev_tools_server.cc (right): https://chromiumcodereview.appspot.com/542953002/diff/20001/chrome/browser/android/dev_tools_server.cc#newcode191 chrome/browser/android/dev_tools_server.cc:191: if (!tab) I wonder whether DevTools is the only ...
6 years, 3 months ago (2014-09-05 05:33:03 UTC) #2
gone
On 2014/09/05 05:33:03, dgozman wrote: > https://chromiumcodereview.appspot.com/542953002/diff/20001/chrome/browser/android/dev_tools_server.cc > File chrome/browser/android/dev_tools_server.cc (right): > > https://chromiumcodereview.appspot.com/542953002/diff/20001/chrome/browser/android/dev_tools_server.cc#newcode191 > ...
6 years, 3 months ago (2014-09-05 08:02:16 UTC) #3
David Trainor- moved to gerrit
On 2014/09/05 08:02:16, dfalcantara wrote: > On 2014/09/05 05:33:03, dgozman wrote: > > > https://chromiumcodereview.appspot.com/542953002/diff/20001/chrome/browser/android/dev_tools_server.cc ...
6 years, 3 months ago (2014-09-05 17:05:33 UTC) #4
David Trainor- moved to gerrit
On 2014/09/05 17:05:33, David Trainor wrote: > On 2014/09/05 08:02:16, dfalcantara wrote: > > On ...
6 years, 3 months ago (2014-09-05 17:10:06 UTC) #5
dgozman
lgtm as a temporary solution against crashes. Note that you also need c/b/android owner.
6 years, 3 months ago (2014-09-05 18:02:11 UTC) #6
David Trainor- moved to gerrit
it looks like the other cases you already took care of dan. lgtm.
6 years, 3 months ago (2014-09-05 18:12:19 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dfalcantara@chromium.org/542953002/40001
6 years, 3 months ago (2014-09-05 18:17:02 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: android_clang_dbg_recipe on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_clang_dbg_recipe/builds/2533)
6 years, 3 months ago (2014-09-05 19:11:15 UTC) #14
gone
Findbugs have been broken for a while, and not by this. Landing manually since it's ...
6 years, 3 months ago (2014-09-05 20:09:02 UTC) #15
gone
Committed patchset #3 (id:40001) manually as 893a2b4 (presubmit successful).
6 years, 3 months ago (2014-09-05 20:34:27 UTC) #16
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 03:41:22 UTC) #17
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/893a2b4298efec20e4d6f74fe524ba64cae01783
Cr-Commit-Position: refs/heads/master@{#293574}

Powered by Google App Engine
This is Rietveld 408576698