Update other unittests to use newly added TestingBrowserProcess::GetGlobal().
[email protected],[email protected],[email protected]
BUG=None
TEST=green tests
Review URL: https://chromiumcodereview.appspot.com/11759019
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175189 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/chrome/browser/profiles/profile_info_cache_unittest.cc b/chrome/browser/profiles/profile_info_cache_unittest.cc
index 9b85561..3fd38f9 100644
--- a/chrome/browser/profiles/profile_info_cache_unittest.cc
+++ b/chrome/browser/profiles/profile_info_cache_unittest.cc
@@ -78,7 +78,7 @@
ProfileInfoCacheTest::ProfileInfoCacheTest()
: testing_profile_manager_(
- static_cast<TestingBrowserProcess*>(g_browser_process)),
+ TestingBrowserProcess::GetGlobal()),
ui_thread_(BrowserThread::UI, &ui_loop_),
file_thread_(BrowserThread::FILE, &ui_loop_),
name_observer_(&testing_profile_manager_) {