Index: services/authenticating_url_loader_interceptor/authenticating_url_loader_interceptor_apptest.cc |
diff --git a/services/authenticating_url_loader_interceptor/authenticating_url_loader_interceptor_apptest.cc b/services/authenticating_url_loader_interceptor/authenticating_url_loader_interceptor_apptest.cc |
index 25c737f2edc73d422d9770571bb95a356e9046c8..9bf7aa2c2978f707555d63377afbdecca220d3a7 100644 |
--- a/services/authenticating_url_loader_interceptor/authenticating_url_loader_interceptor_apptest.cc |
+++ b/services/authenticating_url_loader_interceptor/authenticating_url_loader_interceptor_apptest.cc |
@@ -292,9 +292,8 @@ class AuthenticatingURLLoaderInterceptorAppTest |
ApplicationTestBase::TearDown(); |
} |
- URLResponsePtr GetResponse( |
- const std::string& url, |
- Array<HttpHeaderPtr> request_headers = Array<HttpHeaderPtr>()) { |
+ URLResponsePtr GetResponse(const std::string& url, |
+ Array<HttpHeaderPtr> request_headers = nullptr) { |
URLRequestPtr request = URLRequest::New(); |
request->url = url; |
request->headers = request_headers.Pass(); |
@@ -346,7 +345,7 @@ class AuthenticatingURLLoaderInterceptorAppTest |
void GetAndParseHelloResponse( |
const std::string& url, |
- Array<HttpHeaderPtr> request_headers = Array<HttpHeaderPtr>()) { |
+ Array<HttpHeaderPtr> request_headers = nullptr) { |
URLResponsePtr response = GetResponse(url, request_headers.Pass()); |
EXPECT_TRUE(response); |
EXPECT_EQ(200u, response->status_code); |