Index: Source/core/loader/FrameLoader.h |
diff --git a/Source/core/loader/FrameLoader.h b/Source/core/loader/FrameLoader.h |
index 02bdeae7a686f4dd0495b59988ca710e68996c20..078c7781431b52b7d00e2f15346de9c5b96857d6 100644 |
--- a/Source/core/loader/FrameLoader.h |
+++ b/Source/core/loader/FrameLoader.h |
@@ -168,7 +168,7 @@ public: |
bool allowPlugins(ReasonForCallingAllowPlugins); |
- void updateForSameDocumentNavigation(const KURL&, SameDocumentNavigationSource, PassRefPtr<SerializedScriptValue>, FrameLoadType); |
+ void updateForSameDocumentNavigation(const KURL&, SameDocumentNavigationSource, PassRefPtr<SerializedScriptValue>, HistoryScrollRestorationType, FrameLoadType); |
HistoryItem* currentItem() const { return m_currentItem.get(); } |
void saveScrollState(); |
@@ -197,7 +197,7 @@ private: |
bool validateTransitionNavigationMode(); |
bool dispatchNavigationTransitionData(); |
- void setHistoryItemStateForCommit(HistoryCommitType, bool isPushOrReplaceState = false, PassRefPtr<SerializedScriptValue> = nullptr); |
+ void setHistoryItemStateForCommit(HistoryCommitType, bool isPushOrReplaceState = false, HistoryScrollRestorationType = ScrollRestorationAuto, PassRefPtr<SerializedScriptValue> = nullptr); |
void loadInSameDocument(const KURL&, PassRefPtr<SerializedScriptValue> stateObject, FrameLoadType, ClientRedirectPolicy); |