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

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

Issue 1976573002: Only use pending navigation params for browser-initiated navigations. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: consistency Created 4 years, 7 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/test/render_view_test.h ('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 8d9fde01338223abe7f542cbc6024e0c5f01ebd1..2fc47aaeb46aea7abcfe7ccbd981ab9e4f9a7a7b 100644
--- a/content/public/test/render_view_test.cc
+++ b/content/public/test/render_view_test.cc
@@ -664,15 +664,15 @@ bool RenderViewTest::OnMessageReceived(const IPC::Message& msg) {
}
void RenderViewTest::DidNavigateWithinPage(blink::WebLocalFrame* frame,
- bool is_new_navigation) {
+ bool is_new_navigation,
+ bool content_initiated) {
RenderViewImpl* impl = static_cast<RenderViewImpl*>(view_);
blink::WebHistoryItem item;
item.initialize();
impl->GetMainRenderFrame()->didNavigateWithinPage(
- frame,
- item,
- is_new_navigation ? blink::WebStandardCommit
- : blink::WebHistoryInertCommit);
+ frame, item, is_new_navigation ? blink::WebStandardCommit
+ : blink::WebHistoryInertCommit,
+ content_initiated);
}
blink::WebWidget* RenderViewTest::GetWebWidget() {
« no previous file with comments | « content/public/test/render_view_test.h ('k') | content/renderer/render_frame_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698