Index: Source/modules/serviceworkers/RespondWithObserver.cpp |
diff --git a/Source/modules/serviceworkers/RespondWithObserver.cpp b/Source/modules/serviceworkers/RespondWithObserver.cpp |
index b63f7e1cdf35d5cc3a76825b77ae0a9511e06431..8ca838deaaa5c1a488f70921a4557fc0943e3034 100644 |
--- a/Source/modules/serviceworkers/RespondWithObserver.cpp |
+++ b/Source/modules/serviceworkers/RespondWithObserver.cpp |
@@ -132,7 +132,7 @@ void RespondWithObserver::didDispatchEvent(bool defaultPrevented) |
m_state = Done; |
} |
-void RespondWithObserver::respondWith(ScriptState* scriptState, ScriptPromise& scriptPromise, ExceptionState& exceptionState) |
+void RespondWithObserver::respondWith(ScriptState* scriptState, ScriptPromise scriptPromise, ExceptionState& exceptionState) |
{ |
if (m_state != Initial) { |
exceptionState.throwDOMException(InvalidStateError, "The fetch event has already been responded to."); |