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

Issue 224733013: Remove unnecessary null checking in NavigatorContentUtils (Closed)

Created:
6 years, 8 months ago by gyuyoung-inactive
Modified:
6 years, 8 months ago
Reviewers:
haraken
CC:
blink-reviews, gyuyoung.kim_webkit.org
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Remove unnecessary null checking in NavigatorContentUtils Some functions have checked if document is null. However, document is not null when frame is existed. BUG=none Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=171928

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -7 lines) Patch
M Source/modules/navigatorcontentutils/NavigatorContentUtils.cpp View 1 2 3 chunks +5 lines, -7 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
gyuyoung-inactive
We need to add a null checking condition because frame()->document() can return a null. Document* ...
6 years, 8 months ago (2014-04-07 09:22:33 UTC) #1
haraken
Can you add a test for the change?
6 years, 8 months ago (2014-04-07 09:23:27 UTC) #2
haraken
As far as I see other Navigator modules (NavigatorBattery, NavigatorGamepad, NavigatorMediaStream etc), it seems that ...
6 years, 8 months ago (2014-04-07 09:25:27 UTC) #3
gyuyoung-inactive
On 2014/04/07 09:25:27, haraken wrote: > As far as I see other Navigator modules (NavigatorBattery, ...
6 years, 8 months ago (2014-04-07 10:04:08 UTC) #4
gyuyoung-inactive
On 2014/04/07 10:04:08, gyuyoung wrote: > On 2014/04/07 09:25:27, haraken wrote: > > As far ...
6 years, 8 months ago (2014-04-07 12:01:21 UTC) #5
gyuyoung-inactive
I remove the null checking in WebKit - http://trac.webkit.org/changeset/167308. According to Darin's comment, document can ...
6 years, 8 months ago (2014-04-16 06:11:22 UTC) #6
haraken
On 2014/04/16 06:11:22, gyuyoung wrote: > I remove the null checking in WebKit - http://trac.webkit.org/changeset/167308. ...
6 years, 8 months ago (2014-04-16 07:11:09 UTC) #7
gyuyoung-inactive
On 2014/04/16 07:11:09, haraken wrote: > On 2014/04/16 06:11:22, gyuyoung wrote: > > I remove ...
6 years, 8 months ago (2014-04-17 06:26:15 UTC) #8
gyuyoung-inactive
Previous my comment looks too complicated to read. I think Frame(or LocalFrame) can't be null ...
6 years, 8 months ago (2014-04-18 03:30:54 UTC) #9
haraken
LGTM.
6 years, 8 months ago (2014-04-18 03:41:17 UTC) #10
gyuyoung-inactive
The CQ bit was checked by gyuyoung.kim@samsung.com
6 years, 8 months ago (2014-04-18 03:51:24 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gyuyoung.kim@samsung.com/224733013/50001
6 years, 8 months ago (2014-04-18 03:51:37 UTC) #12
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-18 05:04:04 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.blink on linux_blink_dbg
6 years, 8 months ago (2014-04-18 05:04:04 UTC) #14
gyuyoung-inactive
The CQ bit was checked by gyuyoung.kim@samsung.com
6 years, 8 months ago (2014-04-18 05:47:02 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gyuyoung.kim@samsung.com/224733013/50001
6 years, 8 months ago (2014-04-18 05:47:11 UTC) #16
commit-bot: I haz the power
6 years, 8 months ago (2014-04-18 06:55:16 UTC) #17
Message was sent while issue was closed.
Change committed as 171928

Powered by Google App Engine
This is Rietveld 408576698