Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(158)

Unified Diff: chrome/browser/page_cycler/page_cycler_unittest.cc

Issue 10702029: Move tab functions off Browser into browser_tabstrip and browser_tabrestore. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/page_cycler/page_cycler.cc ('k') | chrome/browser/popup_blocker_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/page_cycler/page_cycler_unittest.cc
===================================================================
--- chrome/browser/page_cycler/page_cycler_unittest.cc (revision 145001)
+++ chrome/browser/page_cycler/page_cycler_unittest.cc (working copy)
@@ -11,6 +11,7 @@
#include "chrome/app/chrome_command_ids.h"
#include "chrome/browser/browser_process.h"
#include "chrome/browser/page_cycler/page_cycler.h"
+#include "chrome/browser/ui/browser_tabstrip.h"
#include "chrome/common/chrome_paths.h"
#include "chrome/common/url_constants.h"
#include "chrome/test/base/browser_with_test_window_test.h"
@@ -108,7 +109,7 @@
BrowserWithTestWindowTest::SetUp();
AddTab(browser(), kAboutURL);
- ASSERT_FALSE(browser()->GetActiveWebContents() == NULL);
+ ASSERT_FALSE(chrome::GetActiveWebContents(browser()) == NULL);
}
void InitFilePaths(const FilePath& temp_path) {
« no previous file with comments | « chrome/browser/page_cycler/page_cycler.cc ('k') | chrome/browser/popup_blocker_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698