Index: net/websockets/websocket_stream_cookie_test.cc |
diff --git a/net/websockets/websocket_stream_cookie_test.cc b/net/websockets/websocket_stream_cookie_test.cc |
index 8e4d9c4ecceb4f8c9dad0ae44a842eddaedfef90..d1f41a75b4279e51d7bf4d620e9476b8e0d2e7cd 100644 |
--- a/net/websockets/websocket_stream_cookie_test.cc |
+++ b/net/websockets/websocket_stream_cookie_test.cc |
@@ -35,7 +35,8 @@ 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", true)); |
+ CHECK(cookie_header.empty() || |
+ base::EndsWith(cookie_header, "\r\n", base::CompareCase::SENSITIVE)); |
url_request_context_host_.SetExpectations( |
WebSocketStandardRequestWithCookies(url.path(), url.host(), origin, |