| Index: chrome/browser/chromeos/extensions/file_manager/file_browser_private_api_factory.cc
|
| diff --git a/chrome/browser/chromeos/extensions/file_manager/file_browser_private_api_factory.cc b/chrome/browser/chromeos/extensions/file_manager/file_browser_private_api_factory.cc
|
| index 9436d240e5dd2cc1daf5ec5b4f1ab72d6d421fbc..992c03499eb1c7229b163f0b8324f2750abf9401 100644
|
| --- a/chrome/browser/chromeos/extensions/file_manager/file_browser_private_api_factory.cc
|
| +++ b/chrome/browser/chromeos/extensions/file_manager/file_browser_private_api_factory.cc
|
| @@ -34,9 +34,9 @@ FileBrowserPrivateAPIFactory::FileBrowserPrivateAPIFactory()
|
| FileBrowserPrivateAPIFactory::~FileBrowserPrivateAPIFactory() {
|
| }
|
|
|
| -ProfileKeyedService*
|
| -FileBrowserPrivateAPIFactory::BuildServiceInstanceFor(Profile* profile) const {
|
| - return new FileBrowserPrivateAPI(profile);
|
| +ProfileKeyedService* FileBrowserPrivateAPIFactory::BuildServiceInstanceFor(
|
| + content::BrowserContext* profile) const {
|
| + return new FileBrowserPrivateAPI(static_cast<Profile*>(profile));
|
| }
|
|
|
| bool FileBrowserPrivateAPIFactory::ServiceHasOwnInstanceInIncognito() const {
|
|
|