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

Issue 2802613005: Add a comment and DCHECK to require |session_storage| to be non-nil in WebState::CreateWithStorageS… (Closed)

Created:
3 years, 8 months ago by Hiroshi Ichikawa
Modified:
3 years, 8 months ago
CC:
chromium-reviews, Eugene But (OOO till 7-30), ios-reviews+web_chromium.org, ios-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

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} Committed: https://chromium.googlesource.com/chromium/src/+/8ffc347519321c9cb2bc53ce5961bf69fff1903f

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -1 line) Patch
M ios/web/public/web_state/web_state.h View 1 chunk +2 lines, -1 line 0 comments Download
M ios/web/web_state/web_state_impl.mm View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 9 (5 generated)
Hiroshi Ichikawa
3 years, 8 months ago (2017-04-06 08:17:41 UTC) #3
marq (ping after 24h)
lgtm
3 years, 8 months ago (2017-04-06 13:59:13 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2802613005/1
3 years, 8 months ago (2017-04-07 02:24:51 UTC) #6
commit-bot: I haz the power
3 years, 8 months ago (2017-04-07 05:23:39 UTC) #9
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/8ffc347519321c9cb2bc53ce5961...

Powered by Google App Engine
This is Rietveld 408576698