Commit 0299ae01 authored by toyoshim's avatar toyoshim Committed by Commit bot

FrameLoader: remove a TODO and add a comment

Remove a TODO that I left before because I confirmed that
current code is correct, and chaging it makes many unit tests
fail.

BUG=670232

Review-Url: https://codereview.chromium.org/2587323002
Cr-Commit-Position: refs/heads/master@{#439807}
parent 5daea93d
......@@ -122,8 +122,7 @@ bool isReloadLoadType(FrameLoadType type) {
}
static bool needsHistoryItemRestore(FrameLoadType type) {
// TODO(toyoshim): Shall we return true for FrameLoadTypeInitialHistoryLoad
// too?
// FrameLoadtypeInitialHistoryLoad is intentionally excluded.
return type == FrameLoadTypeBackForward || isReloadLoadType(type);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment