Add a comment and DCHECK to require |session_storage| to be non-nil in
WebState::CreateWithStorageSession(). Because it looks passing nil doesn't work. Alternatively I can update the code to make CreateWithStorageSession(params, nil) to be equivalent of Create(params) if you prefer. Background: I wrote code to expect that CreateWithStorageSession(params, nil) is equivalent of Create(params), resulted in a weird error. Review-Url: https://codereview.chromium.org/2802613005 Cr-Commit-Position: refs/heads/master@{#462766}
Showing
Please register or sign in to comment