| Index: chrome/browser/extensions/api/log_private/log_private_api_chromeos.cc
|
| diff --git a/chrome/browser/extensions/api/log_private/log_private_api_chromeos.cc b/chrome/browser/extensions/api/log_private/log_private_api_chromeos.cc
|
| index 22a2fc3a601aa9bf57ea2dde88816568f6c6845d..f0674282ba355079c188f36a9e70b9d4a4f9a3fd 100644
|
| --- a/chrome/browser/extensions/api/log_private/log_private_api_chromeos.cc
|
| +++ b/chrome/browser/extensions/api/log_private/log_private_api_chromeos.cc
|
| @@ -68,7 +68,7 @@ void CollectLogInfo(
|
|
|
| // static
|
| LogPrivateAPI* LogPrivateAPI::Get(content::BrowserContext* context) {
|
| - return GetFactoryInstance()->GetForProfile(context);
|
| + return GetFactoryInstance()->Get(context);
|
| }
|
|
|
| LogPrivateAPI::LogPrivateAPI(content::BrowserContext* context)
|
| @@ -95,11 +95,11 @@ void LogPrivateAPI::StopNetInternalsWatch(const std::string& extension_id) {
|
| MaybeStopNetInternalLogging();
|
| }
|
|
|
| -static base::LazyInstance<ProfileKeyedAPIFactory<LogPrivateAPI> >
|
| +static base::LazyInstance<BrowserContextKeyedAPIFactory<LogPrivateAPI> >
|
| g_factory = LAZY_INSTANCE_INITIALIZER;
|
|
|
| // static
|
| -ProfileKeyedAPIFactory<LogPrivateAPI>*
|
| +BrowserContextKeyedAPIFactory<LogPrivateAPI>*
|
| LogPrivateAPI::GetFactoryInstance() {
|
| return &g_factory.Get();
|
| }
|
|
|