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

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

Issue 1255933004: Service Worker: Correct Web IDL of FetchEvent.respondWith method. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rename IDL argument and method params. 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
Index: Source/modules/serviceworkers/FetchEvent.cpp
diff --git a/Source/modules/serviceworkers/FetchEvent.cpp b/Source/modules/serviceworkers/FetchEvent.cpp
index 2c1db23b870a63a164152f5c93bfa92ce629bc36..2eaabaf03696a8eb3cb7f12247175f9963ad0312 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, const ScriptValue& value, ExceptionState& exceptionState)
+void FetchEvent::respondWith(ScriptState* scriptState, ScriptPromise& responsePromise, ExceptionState& exceptionState)
{
stopImmediatePropagation();
- m_observer->respondWith(scriptState, value, exceptionState);
+ m_observer->respondWith(scriptState, responsePromise, exceptionState);
}
const AtomicString& FetchEvent::interfaceName() const

Powered by Google App Engine
This is Rietveld 408576698