Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1205)

Unified Diff: Source/core/page/HistoryController.h

Issue 139103003: Reland "Remove children from HistoryNodes that redirect during back/forward navigation" (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Make trybots happy Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
« no previous file with comments | « LayoutTests/http/tests/navigation/back-to-redirect-with-frame-expected.txt ('k') | Source/core/page/HistoryController.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698