Index: content/browser/frame_host/frame_navigation_entry.cc |
diff --git a/content/browser/frame_host/frame_navigation_entry.cc b/content/browser/frame_host/frame_navigation_entry.cc |
index 26671f7df448e60a5c8fc0cf5bd8aa7927f11cb5..bf78bef31f702fbaab573adefe8f1bf4ea08f3ec 100644 |
--- a/content/browser/frame_host/frame_navigation_entry.cc |
+++ b/content/browser/frame_host/frame_navigation_entry.cc |
@@ -83,6 +83,17 @@ void FrameNavigationEntry::set_document_sequence_number( |
document_sequence_number_ = document_sequence_number; |
} |
+void FrameNavigationEntry::SetPageState(const PageState& page_state) { |
+ page_state_ = page_state; |
+ |
+ ExplodedPageState exploded_state; |
+ if (!DecodePageState(page_state_.ToEncodedData(), &exploded_state)) |
+ return; |
+ |
+ item_sequence_number_ = exploded_state.top.item_sequence_number; |
+ document_sequence_number_ = exploded_state.top.document_sequence_number; |
+} |
+ |
scoped_refptr<ResourceRequestBodyImpl> FrameNavigationEntry::GetPostData() |
const { |
DCHECK(SiteIsolationPolicy::UseSubframeNavigationEntries()); |