diff options
author | bulach@chromium.org <bulach@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-11 13:08:52 +0000 |
---|---|---|
committer | bulach@chromium.org <bulach@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-11 13:08:52 +0000 |
commit | 8b4b84eee1eaa6a77c34f66f7278039004657896 (patch) | |
tree | d8ff62fa586a6dc4d5859453037e1821f2a89bc2 /chrome/browser/renderer_host | |
parent | 5ea92a92e9fa26334db821da688d3c46e295d19c (diff) | |
download | chromium_src-8b4b84eee1eaa6a77c34f66f7278039004657896.zip chromium_src-8b4b84eee1eaa6a77c34f66f7278039004657896.tar.gz chromium_src-8b4b84eee1eaa6a77c34f66f7278039004657896.tar.bz2 |
Geolocation: checks pending requests with the same origin when receiving the infobar response.
Moves GeolocationPermissionContext from GeolocationDispatcherHost up to profile.
TEST=GeolocationPermissionContextTests.MultipleOrigins or manual: open two tabs from the same origin with geolocation. Check both info bars are created. Reply to only one of them, check the other is gone.
BUG=40527
Review URL: http://codereview.chromium.org/1585036
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46910 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/renderer_host')
-rw-r--r-- | chrome/browser/renderer_host/resource_message_filter.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/renderer_host/resource_message_filter.cc b/chrome/browser/renderer_host/resource_message_filter.cc index 9fa1197..bf79fa5 100644 --- a/chrome/browser/renderer_host/resource_message_filter.cc +++ b/chrome/browser/renderer_host/resource_message_filter.cc @@ -318,7 +318,7 @@ ResourceMessageFilter::ResourceMessageFilter( render_widget_helper, &RenderWidgetHelper::GetNextRoutingID)), ALLOW_THIS_IN_INITIALIZER_LIST(geolocation_dispatcher_host_( new GeolocationDispatcherHost( - this->id(), new GeolocationPermissionContext(profile)))) { + this->id(), profile->GetGeolocationPermissionContext()))) { DCHECK(request_context_); DCHECK(media_request_context_); DCHECK(audio_renderer_host_.get()); |