summaryrefslogtreecommitdiffstats
path: root/content/browser/tab_contents/test_tab_contents.cc
diff options
context:
space:
mode:
Diffstat (limited to 'content/browser/tab_contents/test_tab_contents.cc')
-rw-r--r--content/browser/tab_contents/test_tab_contents.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/content/browser/tab_contents/test_tab_contents.cc b/content/browser/tab_contents/test_tab_contents.cc
index f0b6cc4..60b5a0b 100644
--- a/content/browser/tab_contents/test_tab_contents.cc
+++ b/content/browser/tab_contents/test_tab_contents.cc
@@ -82,12 +82,12 @@ bool TestTabContents::CreateRenderViewForRenderManager(
TabContents* TestTabContents::Clone() {
TabContents* tc = new TestTabContents(
browser_context(), SiteInstance::CreateSiteInstance(browser_context()));
- tc->controller().CopyStateFrom(controller_);
+ tc->GetController().CopyStateFrom(controller_);
return tc;
}
void TestTabContents::NavigateAndCommit(const GURL& url) {
- controller().LoadURL(
+ GetController().LoadURL(
url, content::Referrer(), content::PAGE_TRANSITION_LINK, std::string());
GURL loaded_url(url);
bool reverse_on_redirect = false;
@@ -109,7 +109,7 @@ void TestTabContents::CommitPendingNavigation() {
if (!rvh)
rvh = static_cast<TestRenderViewHost*>(old_rvh);
- const NavigationEntry* entry = controller().pending_entry();
+ const NavigationEntry* entry = GetController().pending_entry();
DCHECK(entry);
int page_id = entry->page_id();
if (page_id == -1) {