| Index: chrome/browser/chromeos/drive/drive_system_service.cc
|
| diff --git a/chrome/browser/chromeos/drive/drive_system_service.cc b/chrome/browser/chromeos/drive/drive_system_service.cc
|
| index 1d0f0393b289c19163a6b4a2e35f1a8066f54180..44f3c7cb5b3b3036f9151bcf8efbd8f5fed25961 100644
|
| --- a/chrome/browser/chromeos/drive/drive_system_service.cc
|
| +++ b/chrome/browser/chromeos/drive/drive_system_service.cc
|
| @@ -417,7 +417,9 @@ DriveSystemServiceFactory::~DriveSystemServiceFactory() {
|
| }
|
|
|
| ProfileKeyedService* DriveSystemServiceFactory::BuildServiceInstanceFor(
|
| - Profile* profile) const {
|
| + content::BrowserContext* context) const {
|
| + Profile* profile = static_cast<Profile*>(context);
|
| +
|
| DriveSystemService* service = NULL;
|
| if (factory_for_test_.is_null())
|
| service = new DriveSystemService(profile, NULL, base::FilePath(), NULL);
|
|
|