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

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

Issue 145493005: Keep frames to navigate alive in HistoryController::goToEntry() (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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 fc8188381d59dad8363d81c6d485f8cdcb417b6c..f93dce185f1b8c599611385ea5ed91480780abe8 100644
--- a/Source/core/page/HistoryController.h
+++ b/Source/core/page/HistoryController.h
@@ -155,7 +155,8 @@ public:
private:
void goToEntry(PassOwnPtr<HistoryEntry>, ResourceRequestCachePolicy);
- typedef HashMap<Frame*, HistoryItem*> HistoryFrameLoadSet;
+ class HistoryFrameLoad;
+ typedef HashMap<Frame*, OwnPtr<HistoryFrameLoad> > HistoryFrameLoadSet;
Nate Chapin 2014/01/23 18:19:11 Can we change this to Hashmap<RefPtr<Frame>, Histo
Jens Widell 2014/01/23 18:52:18 Certainly; much better that way. I think I assume
void recursiveGoToEntry(Frame*, HistoryFrameLoadSet& sameDocumentLoads, HistoryFrameLoadSet& differentDocumentLoads);
void updateForInitialLoadInChildFrame(Frame*, HistoryItem*);

Powered by Google App Engine
This is Rietveld 408576698