Index: Source/web/WebHistoryItem.cpp |
diff --git a/Source/web/WebHistoryItem.cpp b/Source/web/WebHistoryItem.cpp |
index 99623e7d00484eda86aa7858e2f1cd466313f97b..1c9a75115e6c133199a00952271e751858139780 100644 |
--- a/Source/web/WebHistoryItem.cpp |
+++ b/Source/web/WebHistoryItem.cpp |
@@ -169,6 +169,16 @@ void WebHistoryItem::setFrameSequenceNumber(long long frameSequenceNumber) |
m_private->setFrameSequenceNumber(frameSequenceNumber); |
} |
+WebHistoryScrollRestorationType WebHistoryItem::scrollRestorationType() const |
+{ |
+ return static_cast<WebHistoryScrollRestorationType>(m_private->scrollRestorationType()); |
+} |
+ |
+void WebHistoryItem::setScrollRestorationType(WebHistoryScrollRestorationType type) |
+{ |
+ m_private->setScrollRestorationType(static_cast<HistoryScrollRestorationType>(type)); |
+} |
+ |
WebSerializedScriptValue WebHistoryItem::stateObject() const |
{ |
return WebSerializedScriptValue(m_private->stateObject()); |