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

Unified Diff: chrome/browser/extensions/api/sessions/sessions_api.cc

Issue 140613002: Cleanup: Replace &LazyInstance::Get() with LazyInstance::Pointer(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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/extensions/api/sessions/sessions_api.cc
diff --git a/chrome/browser/extensions/api/sessions/sessions_api.cc b/chrome/browser/extensions/api/sessions/sessions_api.cc
index 2e451237b19c72eff54b517754ad29cc6c7809af..768b12639545d9a425fcb4f8e4615ea599c9c4ca 100644
--- a/chrome/browser/extensions/api/sessions/sessions_api.cc
+++ b/chrome/browser/extensions/api/sessions/sessions_api.cc
@@ -588,7 +588,7 @@ static base::LazyInstance<ProfileKeyedAPIFactory<SessionsAPI> >
// static
ProfileKeyedAPIFactory<SessionsAPI>*
SessionsAPI::GetFactoryInstance() {
- return &g_factory.Get();
+ return g_factory.Pointer();
}
} // namespace extensions

Powered by Google App Engine
This is Rietveld 408576698