Index: chrome/browser/ui/browser_browsertest.cc |
diff --git a/chrome/browser/ui/browser_browsertest.cc b/chrome/browser/ui/browser_browsertest.cc |
index fde58e8afc1bd7a7bbe61843b6f6d7081db30efd..c34d6b2e9e22e545e1d59e1753a2e80f63614a9a 100644 |
--- a/chrome/browser/ui/browser_browsertest.cc |
+++ b/chrome/browser/ui/browser_browsertest.cc |
@@ -383,9 +383,9 @@ IN_PROC_BROWSER_TEST_F(BrowserTest, NullOpenerRedirectForksProcess) { |
EXPECT_TRUE(newtab); |
EXPECT_NE(oldtab, newtab); |
nav_observer.Wait(); |
- ASSERT_TRUE(newtab->GetController().GetLastCommittedEntry()); |
+ ASSERT_TRUE(newtab->controller().GetLastCommittedEntry()); |
EXPECT_EQ(https_url.spec(), |
- newtab->GetController().GetLastCommittedEntry()->url().spec()); |
+ newtab->controller().GetLastCommittedEntry()->url().spec()); |
// Popup window should not be in the opener's process. |
content::RenderProcessHost* popup_process = |
@@ -417,9 +417,9 @@ IN_PROC_BROWSER_TEST_F(BrowserTest, NullOpenerRedirectForksProcess) { |
EXPECT_TRUE(newtab2); |
EXPECT_NE(oldtab, newtab2); |
nav_observer2.Wait(); |
- ASSERT_TRUE(newtab2->GetController().GetLastCommittedEntry()); |
+ ASSERT_TRUE(newtab2->controller().GetLastCommittedEntry()); |
EXPECT_EQ(https_url.spec(), |
- newtab2->GetController().GetLastCommittedEntry()->url().spec()); |
+ newtab2->controller().GetLastCommittedEntry()->url().spec()); |
// This popup window should also not be in the opener's process. |
content::RenderProcessHost* popup_process2 = |
@@ -470,9 +470,9 @@ IN_PROC_BROWSER_TEST_F(BrowserTest, OtherRedirectsDontForkProcess) { |
EXPECT_TRUE(newtab); |
EXPECT_NE(oldtab, newtab); |
nav_observer.Wait(); |
- ASSERT_TRUE(newtab->GetController().GetLastCommittedEntry()); |
+ ASSERT_TRUE(newtab->controller().GetLastCommittedEntry()); |
EXPECT_EQ(https_url.spec(), |
- newtab->GetController().GetLastCommittedEntry()->url().spec()); |
+ newtab->controller().GetLastCommittedEntry()->url().spec()); |
// Popup window should still be in the opener's process. |
content::RenderProcessHost* popup_process = |
@@ -490,9 +490,9 @@ IN_PROC_BROWSER_TEST_F(BrowserTest, OtherRedirectsDontForkProcess) { |
oldtab->GetRenderViewHost()-> |
ExecuteJavascriptInWebFrame(string16(), ASCIIToUTF16(navigate_str)); |
nav_observer2.Wait(); |
- ASSERT_TRUE(oldtab->GetController().GetLastCommittedEntry()); |
+ ASSERT_TRUE(oldtab->controller().GetLastCommittedEntry()); |
EXPECT_EQ(https_url.spec(), |
- oldtab->GetController().GetLastCommittedEntry()->url().spec()); |
+ oldtab->controller().GetLastCommittedEntry()->url().spec()); |
// Original window should still be in the original process. |
content::RenderProcessHost* new_process = newtab->GetRenderProcessHost(); |
@@ -647,7 +647,7 @@ IN_PROC_BROWSER_TEST_F(BrowserTest, |
ui_test_utils::NavigateToURL(browser(), url); |
NavigationEntry* entry = browser()->GetSelectedTabContents()-> |
- GetController().GetActiveEntry(); |
+ controller().GetActiveEntry(); |
EXPECT_EQ(expected_favicon_url.spec(), entry->favicon().url().spec()); |
} |
@@ -667,7 +667,7 @@ IN_PROC_BROWSER_TEST_F(BrowserTest, MAYBE_FaviconChange) { |
ui_test_utils::NavigateToURL(browser(), file_url); |
NavigationEntry* entry = browser()->GetSelectedTabContents()-> |
- GetController().GetActiveEntry(); |
+ controller().GetActiveEntry(); |
static const FilePath::CharType* kIcon = |
FILE_PATH_LITERAL("test1.png"); |
GURL expected_favicon_url( |
@@ -1136,7 +1136,7 @@ IN_PROC_BROWSER_TEST_F(BrowserTest, ForwardDisabledOnForward) { |
ui_test_utils::WindowedNotificationObserver back_nav_load_observer( |
content::NOTIFICATION_LOAD_STOP, |
content::Source<NavigationController>( |
- &browser()->GetSelectedTabContents()->GetController())); |
+ &browser()->GetSelectedTabContents()->controller())); |
browser()->GoBack(CURRENT_TAB); |
back_nav_load_observer.Wait(); |
EXPECT_TRUE(browser()->command_updater()->IsCommandEnabled(IDC_FORWARD)); |
@@ -1144,7 +1144,7 @@ IN_PROC_BROWSER_TEST_F(BrowserTest, ForwardDisabledOnForward) { |
ui_test_utils::WindowedNotificationObserver forward_nav_load_observer( |
content::NOTIFICATION_LOAD_STOP, |
content::Source<NavigationController>( |
- &browser()->GetSelectedTabContents()->GetController())); |
+ &browser()->GetSelectedTabContents()->controller())); |
browser()->GoForward(CURRENT_TAB); |
// This check will happen before the navigation completes, since the browser |
// won't process the renderer's response until the Wait() call below. |