Index: chrome/test/base/testing_profile.cc |
diff --git a/chrome/test/base/testing_profile.cc b/chrome/test/base/testing_profile.cc |
index a99ccbfca04fdd6296bf001ab86aed16a7a8490a..edeed7859bf421be26f6801bc2933046e7ffaf19 100644 |
--- a/chrome/test/base/testing_profile.cc |
+++ b/chrome/test/base/testing_profile.cc |
@@ -427,6 +427,8 @@ void TestingProfile::Init() { |
BrowserContext::Initialize(this, profile_path_); |
+ browser_context_dependency_manager_->MarkBrowserContextLive(this); |
+ |
#if defined(OS_ANDROID) |
// Make sure token service knows its running in tests. |
OAuth2TokenServiceDelegateAndroid::set_is_testing_profile(); |