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

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

Issue 2655143002: Drop replacesCurrentHistoryItem, NavigationType (Closed)
Patch Set: More compile fixes Created 3 years, 11 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 | « content/public/renderer/content_renderer_client.cc ('k') | content/renderer/render_frame_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 bc99abf73d864e624f2f30b6a81d2eb3f79cb86b..6beff14fc398dae769fac0c3fd71e16ed513f204 100644
--- a/content/public/test/render_view_test.cc
+++ b/content/public/test/render_view_test.cc
@@ -615,8 +615,11 @@ void RenderViewTest::DidNavigateWithinPage(blink::WebLocalFrame* frame,
item.setDocumentSequenceNumber(current_item.documentSequenceNumber());
impl->GetMainRenderFrame()->didNavigateWithinPage(
- frame, item, is_new_navigation ? blink::WebStandardCommit
- : blink::WebHistoryInertCommit,
+ frame->provisionalDataSource(),
+ is_new_navigation ? blink::WebFrameLoadType::Standard
+ : blink::WebFrameLoadType::ReplaceCurrentItem,
+ item, is_new_navigation ? blink::WebStandardCommit
+ : blink::WebHistoryInertCommit,
content_initiated);
}
« no previous file with comments | « content/public/renderer/content_renderer_client.cc ('k') | content/renderer/render_frame_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698