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

Unified Diff: Source/core/history/HistoryItem.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
« no previous file with comments | « Source/core/history/HistoryItem.h ('k') | Source/core/inspector/InspectorOverlay.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/history/HistoryItem.cpp
diff --git a/Source/core/history/HistoryItem.cpp b/Source/core/history/HistoryItem.cpp
index 94dde85e161fbb6bfbf68df5e3de34714f0213b5..4c488047d17b2e15fda9c8e817df355d7b2ef196 100644
--- a/Source/core/history/HistoryItem.cpp
+++ b/Source/core/history/HistoryItem.cpp
@@ -50,6 +50,7 @@ HistoryItem::HistoryItem()
: m_pageScaleFactor(0)
, m_itemSequenceNumber(generateSequenceNumber())
, m_documentSequenceNumber(generateSequenceNumber())
+ , m_targetFrameID(0)
{
}
@@ -67,6 +68,8 @@ inline HistoryItem::HistoryItem(const HistoryItem& item)
, m_pageScaleFactor(item.m_pageScaleFactor)
, m_itemSequenceNumber(item.m_itemSequenceNumber)
, m_documentSequenceNumber(item.m_documentSequenceNumber)
+ , m_targetFrameID(item.m_targetFrameID)
+ , m_stateObject(item.m_stateObject)
, m_formContentType(item.m_formContentType)
{
if (item.m_formData)
@@ -92,6 +95,7 @@ void HistoryItem::reset()
m_itemSequenceNumber = generateSequenceNumber();
m_stateObject = 0;
m_documentSequenceNumber = generateSequenceNumber();
+ m_targetFrameID = 0;
m_formData = 0;
m_formContentType = String();
clearChildren();
« no previous file with comments | « Source/core/history/HistoryItem.h ('k') | Source/core/inspector/InspectorOverlay.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698