Index: third_party/WebKit/Source/web/WebEmbeddedWorkerImplTest.cpp |
diff --git a/third_party/WebKit/Source/web/WebEmbeddedWorkerImplTest.cpp b/third_party/WebKit/Source/web/WebEmbeddedWorkerImplTest.cpp |
index bb6f205f68f945d14899edc483885718b2407484..5373f466bba141fe38f0103b6acf51932ee7f2af 100644 |
--- a/third_party/WebKit/Source/web/WebEmbeddedWorkerImplTest.cpp |
+++ b/third_party/WebKit/Source/web/WebEmbeddedWorkerImplTest.cpp |
@@ -67,7 +67,6 @@ protected: |
WebURL scriptURL = URLTestHelpers::toKURL("https://www.example.com/sw.js"); |
WebURLResponse response; |
- response.initialize(); |
response.setMIMEType("text/javascript"); |
response.setHTTPStatusCode(200); |
Platform::current()->getURLLoaderMockFactory()->registerURL(scriptURL, response, ""); |
@@ -167,7 +166,6 @@ TEST_F(WebEmbeddedWorkerImplTest, ScriptNotFound) |
{ |
WebURL scriptURL = URLTestHelpers::toKURL("https://www.example.com/sw-404.js"); |
WebURLResponse response; |
- response.initialize(); |
response.setMIMEType("text/javascript"); |
response.setHTTPStatusCode(404); |
WebURLError error; |