summaryrefslogtreecommitdiffstats
path: root/chrome/browser/chrome_main_browsertest.cc
diff options
context:
space:
mode:
authoravi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-01-29 01:50:48 +0000
committeravi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-01-29 01:50:48 +0000
commit47ae23376463a83ec03dd83fddd8aa20ee081d09 (patch)
tree73816ce8c8f8bb6b531e39e48ca41810adf97534 /chrome/browser/chrome_main_browsertest.cc
parent40739ea059ffa2e20c9428040f5a7ccc96d95034 (diff)
downloadchromium_src-47ae23376463a83ec03dd83fddd8aa20ee081d09.zip
chromium_src-47ae23376463a83ec03dd83fddd8aa20ee081d09.tar.gz
chromium_src-47ae23376463a83ec03dd83fddd8aa20ee081d09.tar.bz2
Remove TabStripModel wrapper use.
BUG=167548 TEST=no functional change Review URL: https://chromiumcodereview.appspot.com/12066003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@179254 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/chrome_main_browsertest.cc')
-rw-r--r--chrome/browser/chrome_main_browsertest.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/browser/chrome_main_browsertest.cc b/chrome/browser/chrome_main_browsertest.cc
index 0236d409..7869654 100644
--- a/chrome/browser/chrome_main_browsertest.cc
+++ b/chrome/browser/chrome_main_browsertest.cc
@@ -12,7 +12,7 @@
#include "chrome/browser/ui/browser_commands.h"
#include "chrome/browser/ui/browser_finder.h"
#include "chrome/browser/ui/browser_list.h"
-#include "chrome/browser/ui/browser_tabstrip.h"
+#include "chrome/browser/ui/tabs/tab_strip_model.h"
#include "chrome/common/chrome_notification_types.h"
#include "chrome/common/chrome_paths.h"
#include "chrome/common/chrome_switches.h"
@@ -57,7 +57,8 @@ IN_PROC_BROWSER_TEST_F(ChromeMainTest, ReuseBrowserInstanceWhenOpeningFile) {
observer.Wait();
GURL url = net::FilePathToFileURL(test_file_path);
- content::WebContents* tab = chrome::GetActiveWebContents(browser());
+ content::WebContents* tab =
+ browser()->tab_strip_model()->GetActiveWebContents();
ASSERT_EQ(url, tab->GetController().GetActiveEntry()->GetVirtualURL());
}