summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/extension_devtools_browsertests.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/extensions/extension_devtools_browsertests.cc')
-rw-r--r--chrome/browser/extensions/extension_devtools_browsertests.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/extensions/extension_devtools_browsertests.cc b/chrome/browser/extensions/extension_devtools_browsertests.cc
index 3bfd134e..cc61b3d 100644
--- a/chrome/browser/extensions/extension_devtools_browsertests.cc
+++ b/chrome/browser/extensions/extension_devtools_browsertests.cc
@@ -61,7 +61,7 @@ IN_PROC_BROWSER_TEST_F(ExtensionDevToolsBrowserTest, FLAKY_TimelineApi) {
DevToolsManager* devtools_manager = DevToolsManager::GetInstance();
// Grab the tab_id of whatever tab happens to be first.
- TabContents* tab_contents = browser()->tabstrip_model()->GetTabContentsAt(0);
+ TabContents* tab_contents = browser()->GetTabContentsAt(0);
ASSERT_TRUE(tab_contents);
int tab_id = ExtensionTabUtil::GetTabId(tab_contents);
@@ -117,7 +117,7 @@ IN_PROC_BROWSER_TEST_F(ExtensionDevToolsBrowserTest, ProcessRefCounting) {
DevToolsManager* devtools_manager = DevToolsManager::GetInstance();
// Grab the tab_id of whatever tab happens to be first.
- TabContents* tab_contents = browser()->tabstrip_model()->GetTabContentsAt(0);
+ TabContents* tab_contents = browser()->GetTabContentsAt(0);
ASSERT_TRUE(tab_contents);
int tab_id = ExtensionTabUtil::GetTabId(tab_contents);