Index: Source/modules/geolocation/Geolocation.cpp |
diff --git a/Source/modules/geolocation/Geolocation.cpp b/Source/modules/geolocation/Geolocation.cpp |
index 0eeb69fb681dd406ac201eb29d6875a524836149..8a3c5a9463f38d177cb4c7f443b96c8dd18737c2 100644 |
--- a/Source/modules/geolocation/Geolocation.cpp |
+++ b/Source/modules/geolocation/Geolocation.cpp |
@@ -28,11 +28,8 @@ |
#include "config.h" |
#include "modules/geolocation/Geolocation.h" |
-#include "core/dom/DOMException.h" |
#include "core/dom/Document.h" |
-#include "core/dom/ExceptionCode.h" |
#include "modules/geolocation/Coordinates.h" |
-#include "modules/geolocation/GeofencingRegion.h" |
#include "modules/geolocation/GeolocationController.h" |
#include "modules/geolocation/GeolocationError.h" |
#include "modules/geolocation/GeolocationPosition.h" |
@@ -526,19 +523,4 @@ void Geolocation::handlePendingPermissionNotifiers() |
} |
} |
-ScriptPromise Geolocation::registerRegion(ScriptState* scriptState, GeofencingRegion* region) |
-{ |
- return ScriptPromise::rejectWithDOMException(scriptState, DOMException::create(NotSupportedError)); |
-} |
- |
-ScriptPromise Geolocation::unregisterRegion(ScriptState* scriptState, const String& regionId) |
-{ |
- return ScriptPromise::rejectWithDOMException(scriptState, DOMException::create(NotSupportedError)); |
-} |
- |
-ScriptPromise Geolocation::getRegisteredRegions(ScriptState* scriptState) const |
-{ |
- return ScriptPromise::rejectWithDOMException(scriptState, DOMException::create(NotSupportedError)); |
-} |
- |
} // namespace blink |