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

Unified Diff: content/public/test/render_view_test.cc

Issue 979443002: PlzNavigate: send history params at commit time to the renderer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed review comments Created 5 years, 10 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: content/public/test/render_view_test.cc
diff --git a/content/public/test/render_view_test.cc b/content/public/test/render_view_test.cc
index 9f49968b92321bb94fa634c49fb87dd6222cddfa..a8702109d4458abd74104646147c0e0a4c6a6d18 100644
--- a/content/public/test/render_view_test.cc
+++ b/content/public/test/render_view_test.cc
@@ -444,11 +444,13 @@ void RenderViewTest::GoToOffset(int offset, const PageState& state) {
navigate_params.common_params.navigation_type =
FrameMsg_Navigate_Type::NORMAL;
navigate_params.common_params.transition = ui::PAGE_TRANSITION_FORWARD_BACK;
- navigate_params.current_history_list_length = history_list_length;
- navigate_params.current_history_list_offset = impl->history_list_offset_;
- navigate_params.pending_history_list_offset = pending_offset;
- navigate_params.page_id = impl->page_id_ + offset;
- navigate_params.commit_params.page_state = state;
+ navigate_params.history_params.current_history_list_length =
+ history_list_length;
+ navigate_params.history_params.current_history_list_offset =
+ impl->history_list_offset_;
+ navigate_params.history_params.pending_history_list_offset = pending_offset;
+ navigate_params.history_params.page_id = impl->page_id_ + offset;
+ navigate_params.history_params.page_state = state;
navigate_params.request_time = base::Time::Now();
FrameMsg_Navigate navigate_message(impl->GetMainRenderFrame()->GetRoutingID(),
« no previous file with comments | « content/common/navigation_params.cc ('k') | content/renderer/accessibility/renderer_accessibility_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698