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

Issue 76653002: Simplify setting lockBackForwardList() in NavigationScheduler. (Closed)

Created:
7 years, 1 month ago by Nate Chapin
Modified:
7 years, 1 month ago
Reviewers:
abarth-chromium
CC:
blink-reviews, Nate Chapin, gavinp+loader_chromium.org
Visibility:
Public.

Description

Simplify setting lockBackForwardList() in NavigationScheduler. Remove ScheduledNavigation::didStartTimer() and HistoryController::currentItemShouldBeReplaced(). Replace then with a new state on FrameLoaderStateMachine and inline the new check in NavigationScheduler::mustLockBackForwardList(). BUG=321280 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=162384

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -45 lines) Patch
M Source/core/loader/FrameLoader.cpp View 2 chunks +3 lines, -2 lines 1 comment Download
M Source/core/loader/FrameLoaderStateMachine.h View 1 chunk +3 lines, -1 line 0 comments Download
M Source/core/loader/FrameLoaderStateMachine.cpp View 2 chunks +6 lines, -1 line 0 comments Download
M Source/core/loader/HistoryController.h View 1 chunk +0 lines, -1 line 0 comments Download
M Source/core/loader/HistoryController.cpp View 1 chunk +0 lines, -11 lines 0 comments Download
M Source/core/loader/NavigationScheduler.cpp View 8 chunks +8 lines, -29 lines 1 comment Download

Messages

Total messages: 4 (0 generated)
Nate Chapin
https://codereview.chromium.org/76653002/diff/1/Source/core/loader/FrameLoader.cpp File Source/core/loader/FrameLoader.cpp (left): https://codereview.chromium.org/76653002/diff/1/Source/core/loader/FrameLoader.cpp#oldcode1302 Source/core/loader/FrameLoader.cpp:1302: // proxy for history()->currentItemShouldBeReplaced(). This sentence wasn't accurate, and ...
7 years, 1 month ago (2013-11-19 20:05:25 UTC) #1
abarth-chromium
lgtm https://codereview.chromium.org/76653002/diff/1/Source/core/loader/NavigationScheduler.cpp File Source/core/loader/NavigationScheduler.cpp (right): https://codereview.chromium.org/76653002/diff/1/Source/core/loader/NavigationScheduler.cpp#newcode288 Source/core/loader/NavigationScheduler.cpp:288: return true; Wow, much nicer.
7 years, 1 month ago (2013-11-20 05:22:03 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/japhet@chromium.org/76653002/1
7 years, 1 month ago (2013-11-20 17:41:33 UTC) #3
commit-bot: I haz the power
7 years, 1 month ago (2013-11-20 18:20:27 UTC) #4
Message was sent while issue was closed.
Change committed as 162384

Powered by Google App Engine
This is Rietveld 408576698