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

Issue 2757223002: Revert of Fix NavigationItem use-after-free crash in |-goToItemAtIndex:| (Closed)

Created:
3 years, 9 months ago by jif
Modified:
3 years, 9 months ago
Reviewers:
kkhorimoto
CC:
chromium-reviews
Target Ref:
refs/branch-heads/3029
Project:
chromium
Visibility:
Public.

Description

Revert of Fix NavigationItem use-after-free crash in |-goToItemAtIndex:| (patchset #1 id:1 of https://codereview.chromium.org/2757043002/ ) Reason for revert: Hi Kurt, unfortunately this cherry-pick is causing compilation failure on the beta bots, so I'm have to revert it. Example of failure: https://uberchromegw.corp.google.com/i/official.ios/builders/ios/builds/1269 The precise compilation error is: https://paste.googleplex.com/5908319097061376 Note: the beta-simulator and beta-device bots are *not* compiling the latest beta, so you can't rely on them to find the compilation error. Right now *only* the official beta builder are failing. I filed a bug about that: crbug/703065 Original issue's description: > Fix NavigationItem use-after-free crash in |-goToItemAtIndex:| > > If a history navigation item occurs and the current NavigationItem is > transient item, it will get discarded in CRWSessionController's > |-discardTransientItem|. This CL updates history navigation logic to > store copies of the current NavigationItem's information before calling > any CRWSessionController code that might deallocate it. > > BUG=700319 > > Review-Url: https://codereview.chromium.org/2745653007 > Cr-Commit-Position: refs/heads/master@{#456190} > (cherry picked from commit c0f6017abb9aeb5ae1c8e137b6a3671305298b40) > > Review-Url: https://codereview.chromium.org/2757043002 . > Cr-Commit-Position: refs/branch-heads/3029@{#279} > Cr-Branched-From: 939b32ee5ba05c396eef3fd992822fcca9a2e262-refs/heads/master@{#454471} > Committed: https://chromium.googlesource.com/chromium/src/+/bda1c548b6b3b69ee60244d49bf986b9e0f4617a TBR=kkhorimoto@chromium.org # Not skipping CQ checks because original CL landed more than 1 days ago. BUG=700319 NOTRY=true NOPRESUBMIT=true Review-Url: https://codereview.chromium.org/2757223002 Cr-Commit-Position: refs/branch-heads/3029@{#305} Cr-Branched-From: 939b32ee5ba05c396eef3fd992822fcca9a2e262-refs/heads/master@{#454471} Committed: https://chromium.googlesource.com/chromium/src/+/25c92ad9bd75c42d0d0bd0081ed6de019b378eb5

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+72 lines, -88 lines) Patch
M ios/web/web_state/ui/crw_web_controller.mm View 10 chunks +55 lines, -69 lines 0 comments Download
M ios/web/web_state/ui/crw_web_controller_unittest.mm View 3 chunks +17 lines, -19 lines 0 comments Download

Messages

Total messages: 11 (6 generated)
jif
Created Revert of Fix NavigationItem use-after-free crash in |-goToItemAtIndex:|
3 years, 9 months ago (2017-03-20 10:30:15 UTC) #2
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/2757223002/1
3 years, 9 months ago (2017-03-20 10:30:24 UTC) #3
commit-bot: I haz the power
CLs for remote refs other than refs/heads/master must contain NOTRY=true and NOPRESUBMIT=true in order for ...
3 years, 9 months ago (2017-03-20 10:30:25 UTC) #5
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/2757223002/1
3 years, 9 months ago (2017-03-20 17:57:30 UTC) #8
commit-bot: I haz the power
3 years, 9 months ago (2017-03-20 18:01:49 UTC) #11
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/25c92ad9bd75c42d0d0bd0081ed6...

Powered by Google App Engine
This is Rietveld 408576698