Index: components/browser_context_keyed_service/browser_context_dependency_manager.cc |
diff --git a/components/browser_context_keyed_service/browser_context_dependency_manager.cc b/components/browser_context_keyed_service/browser_context_dependency_manager.cc |
index 913c92b80858a7f4489bb486e84cf0ab874dfdef..a7b66be0adac8f66800fc655f8f350a67323f1ea 100644 |
--- a/components/browser_context_keyed_service/browser_context_dependency_manager.cc |
+++ b/components/browser_context_keyed_service/browser_context_dependency_manager.cc |
@@ -139,6 +139,11 @@ void BrowserContextDependencyManager::AssertBrowserContextWasntDestroyed( |
<< "services again."; |
} |
} |
+ |
+void BrowserContextDependencyManager::MarkBrowserContextLiveForTesting( |
+ content::BrowserContext* context) { |
+ dead_context_pointers_.erase(context); |
+} |
#endif |
// static |