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

Unified Diff: third_party/WebKit/Source/core/loader/FrameLoader.cpp

Issue 2587323002: FrameLoader: remove a TODO and add a comment (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/loader/FrameLoader.cpp
diff --git a/third_party/WebKit/Source/core/loader/FrameLoader.cpp b/third_party/WebKit/Source/core/loader/FrameLoader.cpp
index 1cdd19374e3cb3a47f8e74b60c3385811085cd93..89d17d0fdff2ca14029fae3e3222fa8fd30545d0 100644
--- a/third_party/WebKit/Source/core/loader/FrameLoader.cpp
+++ b/third_party/WebKit/Source/core/loader/FrameLoader.cpp
@@ -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);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698