summaryrefslogtreecommitdiffstats
path: root/src/core/content_browser_client_qt.cpp
diff options
context:
space:
mode:
authorPeter Varga <pvarga@inf.u-szeged.hu>2021-12-03 12:11:06 +0100
committerPeter Varga <pvarga@inf.u-szeged.hu>2021-12-08 11:40:33 +0100
commit8c8c3390cada3070e09e18e2045a11d16109fb10 (patch)
tree96ed1447c7adc12c2408b19211afee1aed27fd2e /src/core/content_browser_client_qt.cpp
parentca1074f7d0b91ccb9290acbfe51ecab54ad2efb9 (diff)
Replace GeolocationSystemPermissionManager with GeolocationManager after 94 adaptations
This is necessary to fix crash with disabled geolocation on macOS. The change in upstream is: Use GeolocationManager in CoreLocationProvider https://chromium-review.googlesource.com/c/chromium/src/+/2779636 Change-Id: I97143886bc3c98ad880c3cfc739ef08e5bfa3e73 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'src/core/content_browser_client_qt.cpp')
-rw-r--r--src/core/content_browser_client_qt.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/content_browser_client_qt.cpp b/src/core/content_browser_client_qt.cpp
index 8fbb2d668..893eca09d 100644
--- a/src/core/content_browser_client_qt.cpp
+++ b/src/core/content_browser_client_qt.cpp
@@ -72,7 +72,7 @@
#include "mojo/public/cpp/bindings/self_owned_associated_receiver.h"
#include "net/ssl/client_cert_identity.h"
#include "net/ssl/client_cert_store.h"
-#include "services/device/public/cpp/geolocation/geolocation_system_permission_mac.h"
+#include "services/device/public/cpp/geolocation/geolocation_manager.h"
#include "services/network/network_service.h"
#include "third_party/blink/public/common/associated_interfaces/associated_interface_registry.h"
#include "third_party/blink/public/common/loader/url_loader_throttle.h"
@@ -592,10 +592,10 @@ std::unique_ptr<device::LocationProvider> ContentBrowserClientQt::OverrideSystem
}
#endif
-device::GeolocationSystemPermissionManager *ContentBrowserClientQt::GetLocationPermissionManager()
+device::GeolocationManager *ContentBrowserClientQt::GetGeolocationManager()
{
#if defined(OS_MAC)
- return m_browserMainParts->GetLocationPermissionManager();
+ return m_browserMainParts->GetGeolocationManager();
#else
return nullptr;
#endif