| Index: third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.cpp
|
| diff --git a/third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.cpp b/third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.cpp
|
| index 02446d03530e6aedbe579f1001ad66c56b77fb0f..71e07136c5465484c328138315786fc491766e30 100644
|
| --- a/third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.cpp
|
| +++ b/third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.cpp
|
| @@ -40,8 +40,6 @@
|
| #include "core/workers/WorkerThread.h"
|
| #include "modules/background_sync/SyncEvent.h"
|
| #include "modules/fetch/Headers.h"
|
| -#include "modules/geofencing/CircularGeofencingRegion.h"
|
| -#include "modules/geofencing/GeofencingEvent.h"
|
| #include "modules/notifications/Notification.h"
|
| #include "modules/notifications/NotificationEvent.h"
|
| #include "modules/notifications/NotificationEventInit.h"
|
| @@ -160,12 +158,6 @@ void ServiceWorkerGlobalScopeProxy::dispatchForeignFetchEvent(int eventID, const
|
| observer->didDispatchEvent(dispatchResult);
|
| }
|
|
|
| -void ServiceWorkerGlobalScopeProxy::dispatchGeofencingEvent(int eventID, WebGeofencingEventType eventType, const WebString& regionID, const WebCircularGeofencingRegion& region)
|
| -{
|
| - const AtomicString& type = eventType == WebGeofencingEventTypeEnter ? EventTypeNames::geofenceenter : EventTypeNames::geofenceleave;
|
| - workerGlobalScope()->dispatchEvent(GeofencingEvent::create(type, regionID, CircularGeofencingRegion::create(regionID, region)));
|
| -}
|
| -
|
| void ServiceWorkerGlobalScopeProxy::dispatchInstallEvent(int eventID)
|
| {
|
| WaitUntilObserver* observer = WaitUntilObserver::create(workerGlobalScope(), WaitUntilObserver::Install, eventID);
|
|
|