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

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

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 | « no previous file | Source/modules/serviceworkers/FetchEvent.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/serviceworkers/FetchEvent.h
diff --git a/Source/modules/serviceworkers/FetchEvent.h b/Source/modules/serviceworkers/FetchEvent.h
index f81d01ddd897daf4253c88507dc1708fa0a8f08e..1b4d19afb4d1b3caa8ef46f2570d2465187aaa34 100644
--- a/Source/modules/serviceworkers/FetchEvent.h
+++ b/Source/modules/serviceworkers/FetchEvent.h
@@ -5,6 +5,7 @@
#ifndef FetchEvent_h
#define FetchEvent_h
+#include "bindings/core/v8/ScriptPromise.h"
#include "modules/EventModules.h"
#include "modules/ModulesExport.h"
#include "modules/fetch/Request.h"
@@ -32,7 +33,7 @@ public:
Request* request() const;
bool isReload() const;
- void respondWith(ScriptState*, ScriptPromise&, ExceptionState&);
+ void respondWith(ScriptState*, ScriptPromise, ExceptionState&);
const AtomicString& interfaceName() const override;
« no previous file with comments | « no previous file | Source/modules/serviceworkers/FetchEvent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698