| Index: Source/modules/background_sync/SyncRegistration.cpp
|
| diff --git a/Source/modules/background_sync/SyncRegistration.cpp b/Source/modules/background_sync/SyncRegistration.cpp
|
| index 54c814dce237464a4cc7e948bc62404e07f44173..315c2c0ead202890f6c226e05c19efa359d363fe 100644
|
| --- a/Source/modules/background_sync/SyncRegistration.cpp
|
| +++ b/Source/modules/background_sync/SyncRegistration.cpp
|
| @@ -55,7 +55,7 @@ ScriptPromise SyncRegistration::unregister(ScriptState* scriptState)
|
| if (m_id == WebSyncRegistration::UNREGISTERED_SYNC_ID)
|
| return ScriptPromise::rejectWithDOMException(scriptState, DOMException::create(AbortError, "Operation failed - not a valid registration object"));
|
|
|
| - RefPtrWillBeRawPtr<ScriptPromiseResolver> resolver = ScriptPromiseResolver::create(scriptState);
|
| + ScriptPromiseResolver* resolver = ScriptPromiseResolver::create(scriptState);
|
| ScriptPromise promise = resolver->promise();
|
|
|
| WebSyncProvider* webSyncProvider = Platform::current()->backgroundSyncProvider();
|
|
|