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

Unified Diff: chrome/browser/profiles/profile_info_cache_unittest.cc

Issue 11759019: Update other unittests to use newly added TestingBrowserProcess::GetGlobal(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: simpler codez Created 7 years, 12 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
Index: chrome/browser/profiles/profile_info_cache_unittest.cc
diff --git a/chrome/browser/profiles/profile_info_cache_unittest.cc b/chrome/browser/profiles/profile_info_cache_unittest.cc
index 9b855618f02289d53a1f08b66414473b3e76fff5..3fd38f9965116ee377a481ef8ff0e8f5750b9e96 100644
--- a/chrome/browser/profiles/profile_info_cache_unittest.cc
+++ b/chrome/browser/profiles/profile_info_cache_unittest.cc
@@ -78,7 +78,7 @@ ProfileInfoCache* ProfileNameVerifierObserver::GetCache() {
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_) {
« no previous file with comments | « chrome/browser/profiles/off_the_record_profile_impl_unittest.cc ('k') | chrome/browser/profiles/profile_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698