| Index: Source/core/frame/History.cpp
|
| diff --git a/Source/core/frame/History.cpp b/Source/core/frame/History.cpp
|
| index 2529ced2d25d96707699adea57f9853c87c92dd2..9a2a66d6e614822e4d837a956d8530643621a273 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;
|
|
|