| 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 37c53e8e479ae34bffddfc9b468bf2332e8d1b68..1e634bd4be1c69c086bc501749384177c74b32d5 100644
|
| --- a/chrome/browser/geolocation/geolocation_permission_context.cc
|
| +++ b/chrome/browser/geolocation/geolocation_permission_context.cc
|
| @@ -209,9 +209,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);
|
|
|