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

Unified Diff: Source/modules/serviceworkers/FetchManager.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/FetchBodyStream.idl ('k') | Source/modules/serviceworkers/Request.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/serviceworkers/FetchManager.cpp
diff --git a/Source/modules/serviceworkers/FetchManager.cpp b/Source/modules/serviceworkers/FetchManager.cpp
index 03f5c33f0ebc552b09ff19473ceb0039003967f4..0de5df5e0ea6df3f7df0d26a6ee2b2064f27769b 100644
--- a/Source/modules/serviceworkers/FetchManager.cpp
+++ b/Source/modules/serviceworkers/FetchManager.cpp
@@ -112,7 +112,7 @@ void FetchManager::Loader::didFinishLoading(unsigned long, double)
response = response->createOpaqueFilteredResponse();
break;
}
- m_resolver->resolve(Response::create(response));
+ m_resolver->resolve(Response::create(m_resolver->executionContext(), response));
notifyFinished();
}
« no previous file with comments | « Source/modules/serviceworkers/FetchBodyStream.idl ('k') | Source/modules/serviceworkers/Request.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698