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

Issue 2690033002: Set fromEntry to nil after discardNonCommittedItems. (Closed)

Created:
3 years, 10 months ago by Olivier
Modified:
3 years, 10 months ago
CC:
chromium-reviews, Eugene But (OOO till 7-30)
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Set fromEntry to nil after discardNonCommittedItems. With the indirection CRWSessionEntry->NavigationItem, discardNonCommittedItems can invalidate fromEntry. Set if to nil if it is invalid. This is a tentative fix by the sheriff to make the tree green. Please review this CL and revert it later if there is a better solution. BUG=691492 TBR=eugenebut@chromium.org, kkhorimoto@chromium.org, Review-Url: https://codereview.chromium.org/2690033002 Cr-Commit-Position: refs/heads/master@{#449941} Committed: https://chromium.googlesource.com/chromium/src/+/7f58024526f7dfa06703d876beac569242299357

Patch Set 1 #

Total comments: 3

Patch Set 2 : set fromEntry to nil after discardNonCommittedItems #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -1 line) Patch
M ios/web/web_state/ui/crw_web_controller.mm View 1 2 chunks +12 lines, -1 line 0 comments Download

Messages

Total messages: 20 (13 generated)
Olivier
3 years, 10 months ago (2017-02-13 10:24:19 UTC) #2
sdefresne
https://codereview.chromium.org/2690033002/diff/1/ios/web/web_state/ui/crw_web_controller.mm File ios/web/web_state/ui/crw_web_controller.mm (right): https://codereview.chromium.org/2690033002/diff/1/ios/web/web_state/ui/crw_web_controller.mm#newcode2167 ios/web/web_state/ui/crw_web_controller.mm:2167: [sessionController discardNonCommittedItems]; I think we should instead retain the ...
3 years, 10 months ago (2017-02-13 10:47:36 UTC) #8
Olivier
https://codereview.chromium.org/2690033002/diff/1/ios/web/web_state/ui/crw_web_controller.mm File ios/web/web_state/ui/crw_web_controller.mm (right): https://codereview.chromium.org/2690033002/diff/1/ios/web/web_state/ui/crw_web_controller.mm#newcode2167 ios/web/web_state/ui/crw_web_controller.mm:2167: [sessionController discardNonCommittedItems]; On 2017/02/13 10:47:36, sdefresne wrote: > I ...
3 years, 10 months ago (2017-02-13 12:21:05 UTC) #9
Olivier
https://codereview.chromium.org/2690033002/diff/1/ios/web/web_state/ui/crw_web_controller.mm File ios/web/web_state/ui/crw_web_controller.mm (right): https://codereview.chromium.org/2690033002/diff/1/ios/web/web_state/ui/crw_web_controller.mm#newcode2167 ios/web/web_state/ui/crw_web_controller.mm:2167: [sessionController discardNonCommittedItems]; On 2017/02/13 12:21:05, Olivier Robin wrote: > ...
3 years, 10 months ago (2017-02-13 13:21:24 UTC) #11
sdefresne
lgtm to fix the tree, Eugene/Kurt, please take a look and land the proper fix.
3 years, 10 months ago (2017-02-13 13:30:36 UTC) #14
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/2690033002/20001
3 years, 10 months ago (2017-02-13 13:33:04 UTC) #17
commit-bot: I haz the power
3 years, 10 months ago (2017-02-13 13:40:00 UTC) #20
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/7f58024526f7dfa06703d876beac...

Powered by Google App Engine
This is Rietveld 408576698