Index: content/browser/loader/navigation_url_loader_unittest.cc |
diff --git a/content/browser/loader/navigation_url_loader_unittest.cc b/content/browser/loader/navigation_url_loader_unittest.cc |
index 097035ca2199d9cadef0a04a1ed0958ef990a02e..7871c1665b8c503355e33877c1c6693aa1be4b7a 100644 |
--- a/content/browser/loader/navigation_url_loader_unittest.cc |
+++ b/content/browser/loader/navigation_url_loader_unittest.cc |
@@ -170,18 +170,17 @@ class NavigationURLLoaderTest : public testing::Test { |
scoped_ptr<NavigationURLLoader> MakeTestLoader( |
const GURL& url, |
NavigationURLLoaderDelegate* delegate) { |
- FrameHostMsg_BeginNavigation_Params begin_params; |
+ BeginNavigationParams begin_params; |
CommonNavigationParams common_params; |
begin_params.method = "GET"; |
common_params.url = url; |
scoped_ptr<NavigationRequestInfo> request_info( |
- new NavigationRequestInfo(begin_params)); |
- request_info->first_party_for_cookies = url; |
- request_info->is_main_frame = true; |
+ new NavigationRequestInfo(begin_params, url, true, false, |
+ scoped_refptr<ResourceRequestBody>())); |
return NavigationURLLoader::Create( |
- browser_context_.get(), 0, |
- common_params, request_info.Pass(), nullptr, delegate); |
+ browser_context_.get(), 0, common_params, request_info.Pass(), |
+ delegate); |
} |
// Helper function for fetching the body of a URL to a string. |