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

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

Issue 2949073002: Changing scroll and view state in onpopstate shouldn't overwrite back/forward state restore (Closed)
Patch Set: Reset ViewState when trying to copy from a nullptr Created 3 years, 5 months 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
Index: third_party/WebKit/Source/core/loader/FrameLoader.h
diff --git a/third_party/WebKit/Source/core/loader/FrameLoader.h b/third_party/WebKit/Source/core/loader/FrameLoader.h
index d8f5b92a5f999d630d396b924466b803ef0b9933..209dd869cc5b8d4c045e9733d6b273ed371068ea 100644
--- a/third_party/WebKit/Source/core/loader/FrameLoader.h
+++ b/third_party/WebKit/Source/core/loader/FrameLoader.h
@@ -245,8 +245,10 @@ class CORE_EXPORT FrameLoader final {
HistoryItem*,
ClientRedirectPolicy,
Document*);
- void RestoreScrollPositionAndViewStateForLoadType(FrameLoadType,
- HistoryLoadType);
+ void RestoreScrollPositionAndViewState(FrameLoadType,
+ HistoryLoadType,
+ HistoryItem::ViewState*,
+ HistoryScrollRestorationType);
void ScheduleCheckCompleted();
« no previous file with comments | « third_party/WebKit/Source/core/loader/DocumentLoader.cpp ('k') | third_party/WebKit/Source/core/loader/FrameLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698