DescriptionAdd 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}
Committed: https://chromium.googlesource.com/chromium/src/+/8ffc347519321c9cb2bc53ce5961bf69fff1903f
Patch Set 1 #
Messages
Total messages: 9 (5 generated)
|