| Index: Source/modules/geofencing/Geofencing.cpp
|
| diff --git a/Source/modules/geofencing/Geofencing.cpp b/Source/modules/geofencing/Geofencing.cpp
|
| index ec2baeac84fabe4b179e806303f74344df91a9d1..d81709bc9aa0212f2c2d8c90612ccd57c7b12bc0 100644
|
| --- a/Source/modules/geofencing/Geofencing.cpp
|
| +++ b/Source/modules/geofencing/Geofencing.cpp
|
| @@ -58,7 +58,7 @@ ScriptPromise Geofencing::registerRegion(ScriptState* scriptState, GeofencingReg
|
| if (!provider)
|
| return ScriptPromise::rejectWithDOMException(scriptState, DOMException::create(NotSupportedError));
|
|
|
| - RefPtr<ScriptPromiseResolver> resolver = ScriptPromiseResolver::create(scriptState);
|
| + RefPtrWillBeRawPtr<ScriptPromiseResolver> resolver = ScriptPromiseResolver::create(scriptState);
|
| ScriptPromise promise = resolver->promise();
|
| WebGeofencingCallbacks* callbacks = new CallbackPromiseAdapter<void, GeofencingError>(resolver);
|
| WebServiceWorkerRegistration* serviceWorkerRegistration = nullptr;
|
| @@ -74,7 +74,7 @@ ScriptPromise Geofencing::unregisterRegion(ScriptState* scriptState, const Strin
|
| if (!provider)
|
| return ScriptPromise::rejectWithDOMException(scriptState, DOMException::create(NotSupportedError));
|
|
|
| - RefPtr<ScriptPromiseResolver> resolver = ScriptPromiseResolver::create(scriptState);
|
| + RefPtrWillBeRawPtr<ScriptPromiseResolver> resolver = ScriptPromiseResolver::create(scriptState);
|
| ScriptPromise promise = resolver->promise();
|
| WebGeofencingCallbacks* callbacks = new CallbackPromiseAdapter<void, GeofencingError>(resolver);
|
| WebServiceWorkerRegistration* serviceWorkerRegistration = nullptr;
|
| @@ -90,7 +90,7 @@ ScriptPromise Geofencing::getRegisteredRegions(ScriptState* scriptState) const
|
| if (!provider)
|
| return ScriptPromise::rejectWithDOMException(scriptState, DOMException::create(NotSupportedError));
|
|
|
| - RefPtr<ScriptPromiseResolver> resolver = ScriptPromiseResolver::create(scriptState);
|
| + RefPtrWillBeRawPtr<ScriptPromiseResolver> resolver = ScriptPromiseResolver::create(scriptState);
|
| ScriptPromise promise = resolver->promise();
|
| WebGeofencingRegionsCallbacks* callbacks = new CallbackPromiseAdapter<RegionArray, GeofencingError>(resolver);
|
| WebServiceWorkerRegistration* serviceWorkerRegistration = nullptr;
|
|
|