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

Issue 615883003: Add missing null-checks. (Closed)

Created:
6 years, 2 months ago by Ignacio Solla
Modified:
6 years, 2 months ago
Reviewers:
Ted C, boliu
CC:
chromium-reviews, David Trainor- moved to gerrit, plundblad+watch_chromium.org, aboxhall+watch_chromium.org, avayvod+watch_chromium.org, jam, yuzo+watch_chromium.org, darin-cc_chromium.org, dmazzoni+watch_chromium.org, dtseng+watch_chromium.org, android-webview-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Add missing null-checks. These null-checks were inadvertedly removed during this refactoring: https://codereview.chromium.org/481803004/ getWebContents() can return null after destruction so we need to null-check before use. BUG=415666 Committed: https://crrev.com/c2401a37a0ba385317e71cb430356458328a12df Cr-Commit-Position: refs/heads/master@{#297795}

Patch Set 1 #

Patch Set 2 : #

Total comments: 8

Patch Set 3 : Address comments #

Patch Set 4 : Remove all null-checks outside android_webview/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -0 lines) Patch
M android_webview/java/src/org/chromium/android_webview/AwWebContentsDelegateAdapter.java View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (2 generated)
Ignacio Solla
boliu@chromium.org: Please review changes in android_webview/ tedchoc@chromium.org: Please review content/ and chrome/
6 years, 2 months ago (2014-09-30 10:15:19 UTC) #2
boliu
On 2014/09/30 10:15:19, Ignacio Solla wrote: > mailto:boliu@chromium.org: Please review changes in android_webview/ lgtm > ...
6 years, 2 months ago (2014-09-30 16:53:01 UTC) #3
Ted C
I don't think any of these checks are necessary (outside of the aw folder). As ...
6 years, 2 months ago (2014-10-01 23:24:49 UTC) #4
Ignacio Solla
I have reverted all the null-checks outside android_webview. The intent of this patch was just ...
6 years, 2 months ago (2014-10-02 09:11:14 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/615883003/60001
6 years, 2 months ago (2014-10-02 09:13:09 UTC) #7
commit-bot: I haz the power
Committed patchset #4 (id:60001) as 17f1da7d79f81c4c6a3e973f79c91f548ad1d85b
6 years, 2 months ago (2014-10-02 10:09:17 UTC) #8
commit-bot: I haz the power
6 years, 2 months ago (2014-10-02 10:10:24 UTC) #9
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/c2401a37a0ba385317e71cb430356458328a12df
Cr-Commit-Position: refs/heads/master@{#297795}

Powered by Google App Engine
This is Rietveld 408576698