Index: Source/modules/serviceworkers/ServiceWorkerRegistration.h |
diff --git a/Source/modules/serviceworkers/ServiceWorkerRegistration.h b/Source/modules/serviceworkers/ServiceWorkerRegistration.h |
index 3e4acdce99e475e55ba56c2686907a394e6ed2e1..3f032d68e1597a1101be0ba5408e2f92b7453c7a 100644 |
--- a/Source/modules/serviceworkers/ServiceWorkerRegistration.h |
+++ b/Source/modules/serviceworkers/ServiceWorkerRegistration.h |
@@ -55,7 +55,7 @@ public: |
WebServiceWorkerRegistration* webRegistration() { return m_outerRegistration.get(); } |
- void update(ScriptState*, ExceptionState&); |
+ ScriptPromise update(ScriptState*); |
ScriptPromise unregister(ScriptState*); |
DEFINE_ATTRIBUTE_EVENT_LISTENER(updatefound); |