Index: Source/core/frame/History.cpp |
diff --git a/Source/core/frame/History.cpp b/Source/core/frame/History.cpp |
index b566a28ec695ef734a83ad1db9f7e4ddc548d1d5..3c863141a68695174d048f287b1d0db70b5cabca 100644 |
--- a/Source/core/frame/History.cpp |
+++ b/Source/core/frame/History.cpp |
@@ -70,7 +70,7 @@ SerializedScriptValue* History::stateInternal() const |
if (!m_frame) |
return 0; |
- if (HistoryItem* historyItem = m_frame->loader().history()->currentItem()) |
+ if (HistoryItem* historyItem = m_frame->page()->history()->currentItem(m_frame)) |
return historyItem->stateObject(); |
return 0; |