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

Unified Diff: Source/core/loader/HistoryController.cpp

Issue 46783003: Add a unique frame id and save it on HistoryItem. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 2 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/loader/HistoryController.cpp
diff --git a/Source/core/loader/HistoryController.cpp b/Source/core/loader/HistoryController.cpp
index 51edac66d54f4707a6cab3a725102cd2c1437989..20b2ab4b6a35ba6c1226f11e915a185961729009 100644
--- a/Source/core/loader/HistoryController.cpp
+++ b/Source/core/loader/HistoryController.cpp
@@ -357,6 +357,7 @@ void HistoryController::initializeItem(HistoryItem* item)
item->setURL(url);
item->setTarget(m_frame->tree().uniqueName());
+ item->setTargetFrameID(m_frame->id());
item->setOriginalURLString(originalURL.string());
// Save form state if this is a POST

Powered by Google App Engine
This is Rietveld 408576698