Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(359)

Unified Diff: Source/modules/serviceworkers/FetchEvent.cpp

Issue 1259023002: Service Worker: Use ScriptPromise instead of ScriptPromise&. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove the forward declaration (Included header will do). Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/modules/serviceworkers/FetchEvent.h ('k') | Source/modules/serviceworkers/RespondWithObserver.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/serviceworkers/FetchEvent.cpp
diff --git a/Source/modules/serviceworkers/FetchEvent.cpp b/Source/modules/serviceworkers/FetchEvent.cpp
index 2eaabaf03696a8eb3cb7f12247175f9963ad0312..61a779e3110b3c56c59edd2e65e5bab6975bca8c 100644
--- a/Source/modules/serviceworkers/FetchEvent.cpp
+++ b/Source/modules/serviceworkers/FetchEvent.cpp
@@ -36,10 +36,10 @@ bool FetchEvent::isReload() const
return m_isReload;
}
-void FetchEvent::respondWith(ScriptState* scriptState, ScriptPromise& responsePromise, ExceptionState& exceptionState)
+void FetchEvent::respondWith(ScriptState* scriptState, ScriptPromise scriptPromise, ExceptionState& exceptionState)
{
stopImmediatePropagation();
- m_observer->respondWith(scriptState, responsePromise, exceptionState);
+ m_observer->respondWith(scriptState, scriptPromise, exceptionState);
}
const AtomicString& FetchEvent::interfaceName() const
« no previous file with comments | « Source/modules/serviceworkers/FetchEvent.h ('k') | Source/modules/serviceworkers/RespondWithObserver.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698