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

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

Issue 1002803002: Classify navigations without page id in parallel to the existing classifier. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: unit tests Created 5 years, 9 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 f0e0f8c011d0b1f33a6ab6abae4c8a770c130afc..80f2f8218c69fb7d87982e93f80e27c12d8a770e 100644
--- a/content/public/test/render_view_test.cc
+++ b/content/public/test/render_view_test.cc
@@ -448,7 +448,7 @@ void RenderViewTest::GoToOffset(int offset, const PageState& state) {
FrameMsg_Navigate_Type::NORMAL, true, base::TimeTicks(),
FrameMsg_UILoadMetricsReportType::NO_REPORT, GURL(), GURL());
HistoryNavigationParams history_params(
- state, impl->page_id_ + offset, pending_offset,
+ state, impl->page_id_ + offset, pending_offset + 1, pending_offset,
impl->history_list_offset_, history_list_length, false);
impl->GetMainRenderFrame()->OnNavigate(common_params, StartNavigationParams(),

Powered by Google App Engine
This is Rietveld 408576698