Index: Source/web/WebLocalFrameImpl.cpp |
diff --git a/Source/web/WebLocalFrameImpl.cpp b/Source/web/WebLocalFrameImpl.cpp |
index 1e5f9c60c0715e9ff3513bfe192d2cd2355adebd..86059c6c871d2b8e618c548cd6e1ce55324ad74b 100644 |
--- a/Source/web/WebLocalFrameImpl.cpp |
+++ b/Source/web/WebLocalFrameImpl.cpp |
@@ -131,6 +131,7 @@ |
#include "core/rendering/RenderView.h" |
#include "core/rendering/style/StyleInheritedData.h" |
#include "core/timing/Performance.h" |
+#include "modules/geolocation/GeofencingController.h" |
#include "modules/geolocation/GeolocationController.h" |
#include "modules/notifications/NotificationController.h" |
#include "modules/notifications/NotificationPermissionClient.h" |
@@ -1533,6 +1534,7 @@ void WebLocalFrameImpl::setWebCoreFrame(PassRefPtr<WebCore::LocalFrame> frame) |
proviceNotificationPermissionClientTo(*m_frame, NotificationPermissionClientImpl::create()); |
provideUserMediaTo(*m_frame, &m_userMediaClientImpl); |
provideGeolocationTo(*m_frame, m_geolocationClientProxy.get()); |
+ provideGeofencingControllerTo(*m_frame, m_client ? m_client->geofencingClient() : 0); |
m_geolocationClientProxy->setController(GeolocationController::from(m_frame.get())); |
provideMIDITo(*m_frame, MIDIClientProxy::create(m_client ? m_client->webMIDIClient() : 0)); |
if (RuntimeEnabledFeatures::screenOrientationEnabled()) |