| Index: chrome/browser/profiles/profile_impl.cc
|
| diff --git a/chrome/browser/profiles/profile_impl.cc b/chrome/browser/profiles/profile_impl.cc
|
| index a17151e65f6cd31b9876faf33957e847d43b4eec..6a6dd634a38434609229a4c608a49776143136ce 100644
|
| --- a/chrome/browser/profiles/profile_impl.cc
|
| +++ b/chrome/browser/profiles/profile_impl.cc
|
| @@ -859,11 +859,7 @@ HostContentSettingsMap* ProfileImpl::GetHostContentSettingsMap() {
|
|
|
| content::GeolocationPermissionContext*
|
| ProfileImpl::GetGeolocationPermissionContext() {
|
| - if (!geolocation_permission_context_.get()) {
|
| - geolocation_permission_context_ =
|
| - ChromeGeolocationPermissionContextFactory::Create(this);
|
| - }
|
| - return geolocation_permission_context_.get();
|
| + return ChromeGeolocationPermissionContextFactory::GetForProfile(this);
|
| }
|
|
|
| content::SpeechRecognitionPreferences*
|
|
|