Index: chrome/browser/sync/test/integration/sync_test.cc |
diff --git a/chrome/browser/sync/test/integration/sync_test.cc b/chrome/browser/sync/test/integration/sync_test.cc |
index 3f68e651a88ef35ca0d50c28ef47631a406f01bd..c655cf39f4841af373d8557c4fb1914237e70e99 100644 |
--- a/chrome/browser/sync/test/integration/sync_test.cc |
+++ b/chrome/browser/sync/test/integration/sync_test.cc |
@@ -31,7 +31,7 @@ |
#include "chrome/browser/sync/profile_sync_service_harness.h" |
#include "chrome/browser/sync/test/integration/sync_datatype_helper.h" |
#include "chrome/browser/ui/browser.h" |
-#include "chrome/browser/ui/browser_list.h" |
+#include "chrome/browser/ui/browser_finder.h" |
#include "chrome/browser/ui/tabs/tab_strip_model.h" |
#include "chrome/common/chrome_paths.h" |
#include "chrome/common/chrome_switches.h" |
@@ -374,7 +374,7 @@ void SyncTest::CleanUpOnMainThread() { |
// All browsers should be closed at this point, or else we could see memory |
// corruption in QuitBrowser(). |
- CHECK_EQ(0U, BrowserList::size()); |
+ CHECK_EQ(0U, chrome::GetTotalBrowserCount()); |
clients_.clear(); |
} |