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

Issue 1848103004: Fix HistoryEntry corruption when commit isn't for provisional entry. (Closed)

Created:
4 years, 8 months ago by Charlie Reis
Modified:
4 years, 8 months ago
Reviewers:
Nate Chapin
CC:
chromium-reviews, mkwst+moarreviews-renderer_chromium.org, mlamouri+watch-content_chromium.org, jam, darin-cc_chromium.org, alexmos
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix HistoryEntry corruption when commit isn't for provisional entry. BUG=597322 TEST=See bug for repro steps. Committed: https://crrev.com/bb3548ef2fcdb58f9bc638bb5a3c379320fdd0e0 Cr-Commit-Position: refs/heads/master@{#384659}

Patch Set 1 #

Patch Set 2 : Clean up #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -1 line) Patch
M content/renderer/history_controller.cc View 1 1 chunk +8 lines, -1 line 3 comments Download

Messages

Total messages: 11 (3 generated)
Charlie Reis
Nate, can you review this fix? I have the test in a separate CL (https://codereview.chromium.org/1848813005/) ...
4 years, 8 months ago (2016-04-01 17:28:05 UTC) #2
Nate Chapin
LGTM with a nit https://codereview.chromium.org/1848103004/diff/20001/content/renderer/history_controller.cc File content/renderer/history_controller.cc (right): https://codereview.chromium.org/1848103004/diff/20001/content/renderer/history_controller.cc#newcode193 content/renderer/history_controller.cc:193: if (HistoryEntry::HistoryNode* node = In ...
4 years, 8 months ago (2016-04-01 17:33:52 UTC) #3
Charlie Reis
https://codereview.chromium.org/1848103004/diff/20001/content/renderer/history_controller.cc File content/renderer/history_controller.cc (right): https://codereview.chromium.org/1848103004/diff/20001/content/renderer/history_controller.cc#newcode193 content/renderer/history_controller.cc:193: if (HistoryEntry::HistoryNode* node = On 2016/04/01 17:33:51, Nate Chapin ...
4 years, 8 months ago (2016-04-01 19:05:35 UTC) #4
Nate Chapin
On 2016/04/01 19:05:35, Charlie Reis (slow til 4-8) wrote: > https://codereview.chromium.org/1848103004/diff/20001/content/renderer/history_controller.cc > File content/renderer/history_controller.cc (right): ...
4 years, 8 months ago (2016-04-01 19:12:57 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1848103004/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1848103004/20001
4 years, 8 months ago (2016-04-01 19:14:34 UTC) #7
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 8 months ago (2016-04-01 19:21:19 UTC) #8
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/bb3548ef2fcdb58f9bc638bb5a3c379320fdd0e0 Cr-Commit-Position: refs/heads/master@{#384659}
4 years, 8 months ago (2016-04-01 19:22:43 UTC) #10
Charlie Reis
4 years, 8 months ago (2016-04-04 16:29:29 UTC) #11
Message was sent while issue was closed.
A revert of this CL (patchset #2 id:20001) has been created in
https://codereview.chromium.org/1859593003/ by creis@chromium.org.

The reason for reverting is: This led to crashes in
HistoryController::UpdateForCommit if there is no current entry and the
provisional entry doesn't match the commit.  See https://crbug.com/600238.  I'll
land an updated fix..

Powered by Google App Engine
This is Rietveld 408576698