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

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

Issue 304233017: ServiceWorker: Add layout tests for fetch event response (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 7 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/Response.cpp
diff --git a/Source/modules/serviceworkers/Response.cpp b/Source/modules/serviceworkers/Response.cpp
index 2bbe8f3adc0442659d97be7dc0442ea78f569f99..038c60f7bbe56075eca20dd8400b16d5c58d9afb 100644
--- a/Source/modules/serviceworkers/Response.cpp
+++ b/Source/modules/serviceworkers/Response.cpp
@@ -13,12 +13,6 @@
namespace WebCore {
-// FIXME: Remove this legacy function when the required Chromium-side patch lands.
-PassRefPtr<Response> Response::create(const Dictionary& responseInit)
-{
- return adoptRef(new Response(nullptr, ResponseInit(responseInit)));
-}
-
PassRefPtr<Response> Response::create(Blob* body, const Dictionary& responseInit)
{
// FIXME: Maybe append or override content-length and content-type headers using the blob. The spec will clarify what to do:

Powered by Google App Engine
This is Rietveld 408576698