New issue
Advanced search Search tips

Issue 757730 link

Starred by 1 user

Issue metadata

Status: Untriaged
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

Better document what things are expected to always be non-null

Project Member Reported by dcheng@chromium.org, Aug 22 2017

Issue description

For example:
- WebContents always has a main RenderFrameHost
- RenderFrameHost always has a RenderProcessHost
- RenderProcessHost always has a BrowserContext

etc

I see lots of (probably) not needed null checks, so having this clarified in the official comments would probably be useful.
 

Sign in to add a comment