summaryrefslogtreecommitdiffstats
path: root/WebCore/history/BackForwardListChromium.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/history/BackForwardListChromium.cpp')
-rw-r--r--WebCore/history/BackForwardListChromium.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/WebCore/history/BackForwardListChromium.cpp b/WebCore/history/BackForwardListChromium.cpp
index ec0f117..dc1efc9 100644
--- a/WebCore/history/BackForwardListChromium.cpp
+++ b/WebCore/history/BackForwardListChromium.cpp
@@ -121,16 +121,6 @@ HistoryItem* BackForwardListImpl::itemAtIndex(int index)
return m_client->itemAtIndex(index);
}
-void BackForwardListImpl::pushStateItem(PassRefPtr<HistoryItem> newItem)
-{
- RefPtr<HistoryItem> current = m_client->currentItem();
-
- addItem(newItem);
-
- if (!current->stateObject())
- current->setStateObject(SerializedScriptValue::create());
-}
-
HistoryItemVector& BackForwardListImpl::entries()
{
static HistoryItemVector noEntries;