Index: Source/core/page/HistoryController.h |
diff --git a/Source/core/page/HistoryController.h b/Source/core/page/HistoryController.h |
index acb1026a30a134a2ecd62d543399453935f7fb74..fc8188381d59dad8363d81c6d485f8cdcb417b6c 100644 |
--- a/Source/core/page/HistoryController.h |
+++ b/Source/core/page/HistoryController.h |
@@ -101,6 +101,7 @@ public: |
HistoryItem* value() { return m_value.get(); } |
void updateValue(PassRefPtr<HistoryItem> item) { m_value = item; } |
const Vector<OwnPtr<HistoryNode> >& children() const { return m_children; } |
+ void removeChildren(); |
private: |
HistoryNode(HistoryEntry*, HistoryItem*); |
@@ -108,6 +109,7 @@ private: |
HistoryEntry* m_entry; |
Vector<OwnPtr<HistoryNode> > m_children; |
RefPtr<HistoryItem> m_value; |
+ |
}; |
class HistoryEntry { |
@@ -147,6 +149,7 @@ public: |
PassRefPtr<HistoryItem> currentItemForExport(); |
PassRefPtr<HistoryItem> previousItemForExport(); |
HistoryItem* itemForNewChildFrame(Frame*) const; |
+ void removeChildrenForRedirect(Frame*); |
void setDefersLoading(bool); |