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

Unified Diff: content/browser/frame_host/navigation_entry_impl.cc

Issue 1182453002: PlzNavigate: support for should_replace_current_entry (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed Charlie's comments Created 5 years, 5 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/browser/frame_host/navigation_entry_impl.cc
diff --git a/content/browser/frame_host/navigation_entry_impl.cc b/content/browser/frame_host/navigation_entry_impl.cc
index 16029f8c8af330017d6940ddef79da44cdb2e339..b51b7be0dd1251c45821daa1fca2bc33aabe396f 100644
--- a/content/browser/frame_host/navigation_entry_impl.cc
+++ b/content/browser/frame_host/navigation_entry_impl.cc
@@ -450,8 +450,8 @@ CommonNavigationParams NavigationEntryImpl::ConstructCommonNavigationParams(
return CommonNavigationParams(
dest_url, dest_referrer, GetTransitionType(), navigation_type,
- !IsViewSourceMode(), ui_timestamp, report_type, GetBaseURLForDataURL(),
- GetHistoryURLForDataURL());
+ !IsViewSourceMode(), should_replace_entry(), ui_timestamp, report_type,
+ GetBaseURLForDataURL(), GetHistoryURLForDataURL());
}
StartNavigationParams NavigationEntryImpl::ConstructStartNavigationParams()
@@ -464,10 +464,10 @@ StartNavigationParams NavigationEntryImpl::ConstructStartNavigationParams()
GetBrowserInitiatedPostData()->size());
}
- return StartNavigationParams(
- GetHasPostData(), extra_headers(), browser_initiated_post_data,
- should_replace_entry(), transferred_global_request_id().child_id,
- transferred_global_request_id().request_id);
+ return StartNavigationParams(GetHasPostData(), extra_headers(),
+ browser_initiated_post_data,
+ transferred_global_request_id().child_id,
+ transferred_global_request_id().request_id);
}
RequestNavigationParams NavigationEntryImpl::ConstructRequestNavigationParams(
« no previous file with comments | « no previous file | content/browser/frame_host/render_frame_host_impl.cc » ('j') | content/renderer/render_frame_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698