summaryrefslogtreecommitdiff
path: root/chromium/services/device/geolocation/geolocation_context.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/services/device/geolocation/geolocation_context.cc')
-rw-r--r--chromium/services/device/geolocation/geolocation_context.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chromium/services/device/geolocation/geolocation_context.cc b/chromium/services/device/geolocation/geolocation_context.cc
index 379b7651ea6..a41139ad815 100644
--- a/chromium/services/device/geolocation/geolocation_context.cc
+++ b/chromium/services/device/geolocation/geolocation_context.cc
@@ -24,7 +24,8 @@ void GeolocationContext::Create(
}
void GeolocationContext::BindGeolocation(
- mojo::PendingReceiver<mojom::Geolocation> receiver) {
+ mojo::PendingReceiver<mojom::Geolocation> receiver,
+ const GURL& requesting_origin) {
GeolocationImpl* impl = new GeolocationImpl(std::move(receiver), this);
impls_.push_back(base::WrapUnique<GeolocationImpl>(impl));
if (geoposition_override_)