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

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

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.h
diff --git a/Source/modules/serviceworkers/FetchEvent.h b/Source/modules/serviceworkers/FetchEvent.h
index 4fda486fb2a2021a2292a1f1e9919db3aa4616af..f81d01ddd897daf4253c88507dc1708fa0a8f08e 100644
--- a/Source/modules/serviceworkers/FetchEvent.h
+++ b/Source/modules/serviceworkers/FetchEvent.h
@@ -32,7 +32,7 @@ public:
Request* request() const;
bool isReload() const;
- void respondWith(ScriptState*, const ScriptValue&, ExceptionState&);
+ void respondWith(ScriptState*, ScriptPromise&, ExceptionState&);
const AtomicString& interfaceName() const override;

Powered by Google App Engine
This is Rietveld 408576698