| Index: chrome/browser/geolocation/chrome_geolocation_permission_context_factory.cc
|
| diff --git a/chrome/browser/geolocation/chrome_geolocation_permission_context_factory.cc b/chrome/browser/geolocation/chrome_geolocation_permission_context_factory.cc
|
| index 407a3764d036b85ee0ae7f705d2215d18f94bc98..9bb08740e6b9dc7ac8e263b30c4ff5cee145c076 100644
|
| --- a/chrome/browser/geolocation/chrome_geolocation_permission_context_factory.cc
|
| +++ b/chrome/browser/geolocation/chrome_geolocation_permission_context_factory.cc
|
| @@ -4,6 +4,7 @@
|
|
|
| #include "chrome/browser/geolocation/chrome_geolocation_permission_context_factory.h"
|
|
|
| +#include "chrome/browser/profiles/profile.h"
|
| #include "chrome/browser/profiles/profile_dependency_manager.h"
|
| #include "chrome/common/pref_names.h"
|
| #include "components/user_prefs/pref_registry_syncable.h"
|
| @@ -67,8 +68,8 @@ ChromeGeolocationPermissionContextFactory::
|
|
|
| ProfileKeyedService*
|
| ChromeGeolocationPermissionContextFactory::BuildServiceInstanceFor(
|
| - Profile* profile) const {
|
| - return new Service(profile);
|
| + content::BrowserContext* profile) const {
|
| + return new Service(static_cast<Profile*>(profile));
|
| }
|
|
|
| void ChromeGeolocationPermissionContextFactory::RegisterUserPrefs(
|
|
|