| Index: chrome/browser/geolocation/geolocation_permission_context.cc
|
| diff --git a/chrome/browser/geolocation/geolocation_permission_context.cc b/chrome/browser/geolocation/geolocation_permission_context.cc
|
| index ca97bfad53c30733a0bc396e44f5df521a127247..f6adcb9157132b05e71f170812ca640cd0a031fb 100644
|
| --- a/chrome/browser/geolocation/geolocation_permission_context.cc
|
| +++ b/chrome/browser/geolocation/geolocation_permission_context.cc
|
| @@ -197,9 +197,12 @@ void GeolocationPermissionContext::DecidePermission(
|
| DCHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::UI));
|
|
|
| ContentSetting content_setting =
|
| - profile_->GetHostContentSettingsMap()->GetContentSetting(
|
| - requesting_frame, embedder, CONTENT_SETTINGS_TYPE_GEOLOCATION,
|
| - std::string());
|
| + profile_->GetHostContentSettingsMap()
|
| + ->GetContentSettingAndMaybeUpdateLastUsage(
|
| + requesting_frame,
|
| + embedder,
|
| + CONTENT_SETTINGS_TYPE_GEOLOCATION,
|
| + std::string());
|
| switch (content_setting) {
|
| case CONTENT_SETTING_BLOCK:
|
| PermissionDecided(id, requesting_frame, embedder, callback, false);
|
|
|