summaryrefslogtreecommitdiffstats
path: root/net/websockets/websocket_stream_cookie_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'net/websockets/websocket_stream_cookie_test.cc')
-rw-r--r--net/websockets/websocket_stream_cookie_test.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/net/websockets/websocket_stream_cookie_test.cc b/net/websockets/websocket_stream_cookie_test.cc
index d1f41a7..8e4d9c4 100644
--- a/net/websockets/websocket_stream_cookie_test.cc
+++ b/net/websockets/websocket_stream_cookie_test.cc
@@ -35,8 +35,7 @@ class TestBase : public WebSocketStreamCreateTestBase {
// We assume cookie_header ends with CRLF if not empty, as
// WebSocketStandardRequestWithCookies requires. Use AddCRLFIfNotEmpty
// in a call site.
- CHECK(cookie_header.empty() ||
- base::EndsWith(cookie_header, "\r\n", base::CompareCase::SENSITIVE));
+ CHECK(cookie_header.empty() || base::EndsWith(cookie_header, "\r\n", true));
url_request_context_host_.SetExpectations(
WebSocketStandardRequestWithCookies(url.path(), url.host(), origin,