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

Unified Diff: chrome/browser/signin/signin_names_io_thread_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: 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/signin/signin_names_io_thread_unittest.cc
diff --git a/chrome/browser/signin/signin_names_io_thread_unittest.cc b/chrome/browser/signin/signin_names_io_thread_unittest.cc
index 4e03f537227079723b7baa543b62640bd5abb1b0..db81724e2626eb90fb20b954a709188c4099c954 100644
--- a/chrome/browser/signin/signin_names_io_thread_unittest.cc
+++ b/chrome/browser/signin/signin_names_io_thread_unittest.cc
@@ -39,7 +39,7 @@ SigninNamesOnIOThreadTest::SigninNamesOnIOThreadTest()
: ui_thread_(content::BrowserThread::UI, &message_loop_),
io_thread_(content::BrowserThread::IO, &message_loop_),
testing_profile_manager_(
- static_cast<TestingBrowserProcess*>(g_browser_process)) {
+ TestingBrowserProcess::GetGlobal()) {
}
void SigninNamesOnIOThreadTest::SetUp() {

Powered by Google App Engine
This is Rietveld 408576698