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

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

Issue 555443002: [Fetch API] Put body members directly on Response/Request (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: incorporated yhirano's comment Created 6 years, 3 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/Request.idl ('k') | Source/modules/serviceworkers/Response.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/serviceworkers/RequestTest.cpp
diff --git a/Source/modules/serviceworkers/RequestTest.cpp b/Source/modules/serviceworkers/RequestTest.cpp
index ef490b871212b08bb4e188de9db2faa036eeca63..3cafdeae8ca503de03ce9f7a3766d59dbf56bec6 100644
--- a/Source/modules/serviceworkers/RequestTest.cpp
+++ b/Source/modules/serviceworkers/RequestTest.cpp
@@ -71,7 +71,7 @@ TEST_F(ServiceWorkerRequestTest, FromAndToWebRequest)
webRequest.setHeader(WebString::fromUTF8(headers[i].key), WebString::fromUTF8(headers[i].value));
webRequest.setReferrer(referrer, referrerPolicy);
- Request* request = Request::create(webRequest);
+ Request* request = Request::create(executionContext(), webRequest);
ASSERT(request);
EXPECT_EQ(url, request->url());
EXPECT_EQ(method, request->method());
« no previous file with comments | « Source/modules/serviceworkers/Request.idl ('k') | Source/modules/serviceworkers/Response.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698