Index: content/browser/frame_host/navigation_request.cc |
diff --git a/content/browser/frame_host/navigation_request.cc b/content/browser/frame_host/navigation_request.cc |
index 1c13a714ac52a578e1413f40ad0f3bdc7290da76..23b397093c6d1cbec3fccd37d012ab5e0bb80413 100644 |
--- a/content/browser/frame_host/navigation_request.cc |
+++ b/content/browser/frame_host/navigation_request.cc |
@@ -54,6 +54,8 @@ int LoadFlagFromNavigationType(FrameMsg_Navigate_Type::Value navigation_type) { |
scoped_ptr<NavigationRequest> NavigationRequest::CreateBrowserInitiated( |
FrameTreeNode* frame_tree_node, |
const FrameNavigationEntry& frame_entry, |
+ const GURL& dest_url, |
+ const Referrer& dest_referrer, |
const NavigationEntryImpl& entry, |
FrameMsg_Navigate_Type::Value navigation_type, |
bool is_same_document_history_load, |
@@ -82,7 +84,8 @@ scoped_ptr<NavigationRequest> NavigationRequest::CreateBrowserInitiated( |
scoped_ptr<NavigationRequest> navigation_request(new NavigationRequest( |
frame_tree_node, |
- entry.ConstructCommonNavigationParams(frame_entry, navigation_type), |
+ entry.ConstructCommonNavigationParams(frame_entry, dest_url, |
+ dest_referrer, navigation_type), |
BeginNavigationParams(method, headers.ToString(), |
LoadFlagFromNavigationType(navigation_type), false), |
entry.ConstructRequestNavigationParams( |