| Index: content/browser/cross_site_transfer_browsertest.cc
|
| diff --git a/content/browser/cross_site_transfer_browsertest.cc b/content/browser/cross_site_transfer_browsertest.cc
|
| index 97cd504309da4332e960679322ff9fdc1d88cf5d..4a174ba3c1d617bbfd395f431a47319be8f4d347 100644
|
| --- a/content/browser/cross_site_transfer_browsertest.cc
|
| +++ b/content/browser/cross_site_transfer_browsertest.cc
|
| @@ -270,7 +270,7 @@ IN_PROC_BROWSER_TEST_P(CrossSiteTransferTest,
|
| // Force all future navigations to transfer. Note that this includes same-site
|
| // navigiations which may cause double process swaps (via OpenURL and then via
|
| // transfer). This test intentionally exercises that case.
|
| - ShellContentBrowserClient::SetSwapProcessesForRedirect(true);
|
| + ShellContentBrowserClient::SetTransferAllNavigations(true);
|
|
|
| // Navigate to a page on A.com with entry replacement. This navigation is
|
| // cross-site, so the renderer will send it to the browser via OpenURL to give
|
| @@ -330,7 +330,7 @@ IN_PROC_BROWSER_TEST_P(CrossSiteTransferTest,
|
| // navigiations which may cause double process swaps (via OpenURL and then via
|
| // transfer). All navigations in this test are same-site, so it only swaps
|
| // processes via request transfer.
|
| - ShellContentBrowserClient::SetSwapProcessesForRedirect(true);
|
| + ShellContentBrowserClient::SetTransferAllNavigations(true);
|
|
|
| // Navigate in-process with entry replacement. It will then be transferred
|
| // into a new one due to the call above.
|
| @@ -412,7 +412,7 @@ IN_PROC_BROWSER_TEST_P(CrossSiteTransferTest, NoLeakOnCrossSiteCancel) {
|
| EXPECT_TRUE(NavigateToURL(shell(), url1));
|
|
|
| // Force all future navigations to transfer.
|
| - ShellContentBrowserClient::SetSwapProcessesForRedirect(true);
|
| + ShellContentBrowserClient::SetTransferAllNavigations(true);
|
|
|
| NoTransferRequestDelegate no_transfer_request_delegate;
|
| WebContentsDelegate* old_delegate = shell()->web_contents()->GetDelegate();
|
|
|