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

Unified Diff: third_party/WebKit/Source/modules/fetch/Response.h

Issue 1906403002: Revert of Make Response::body return v8-extra based stream behind flag (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@notify-locked-released
Patch Set: Created 4 years, 8 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: third_party/WebKit/Source/modules/fetch/Response.h
diff --git a/third_party/WebKit/Source/modules/fetch/Response.h b/third_party/WebKit/Source/modules/fetch/Response.h
index 462f0e7fc238c75b5f931f08676442b30dd9569d..be06f2c5c4096e5faa3f1a5023a134a7efd4a21e 100644
--- a/third_party/WebKit/Source/modules/fetch/Response.h
+++ b/third_party/WebKit/Source/modules/fetch/Response.h
@@ -38,9 +38,9 @@
static Response* create(ScriptState*, ExceptionState&);
static Response* create(ScriptState*, ScriptValue body, const Dictionary&, ExceptionState&);
- static Response* create(ScriptState*, PassOwnPtr<FetchDataConsumerHandle> bodyHandle, const String& contentType, const ResponseInit&, ExceptionState&);
+ static Response* create(ExecutionContext*, PassOwnPtr<FetchDataConsumerHandle> bodyHandle, const String& contentType, const ResponseInit&, ExceptionState&);
static Response* create(ExecutionContext*, FetchResponseData*);
- static Response* create(ScriptState*, const WebServiceWorkerResponse&);
+ static Response* create(ExecutionContext*, const WebServiceWorkerResponse&);
static Response* createClone(const Response&);
@@ -58,7 +58,7 @@
Headers* headers() const;
// From Response.idl:
- Response* clone(ScriptState*, ExceptionState&);
+ Response* clone(ExceptionState&);
// ActiveScriptWrappable
bool hasPendingActivity() const final;
« no previous file with comments | « third_party/WebKit/Source/modules/fetch/RequestTest.cpp ('k') | third_party/WebKit/Source/modules/fetch/Response.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698