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..37c48d16c641a91de2e030b0a327367d122834b8 100644 |
--- a/content/browser/frame_host/navigation_request.cc |
+++ b/content/browser/frame_host/navigation_request.cc |
@@ -53,6 +53,8 @@ int LoadFlagFromNavigationType(FrameMsg_Navigate_Type::Value navigation_type) { |
// static |
scoped_ptr<NavigationRequest> NavigationRequest::CreateBrowserInitiated( |
FrameTreeNode* frame_tree_node, |
+ const GURL& dest_url, |
+ const Referrer& dest_referrer, |
const FrameNavigationEntry& frame_entry, |
const NavigationEntryImpl& entry, |
FrameMsg_Navigate_Type::Value navigation_type, |
@@ -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(dest_url, dest_referrer, |
+ frame_entry, navigation_type), |
BeginNavigationParams(method, headers.ToString(), |
LoadFlagFromNavigationType(navigation_type), false), |
entry.ConstructRequestNavigationParams( |