Index: remoting/host/remoting_me2me_host.cc |
diff --git a/remoting/host/remoting_me2me_host.cc b/remoting/host/remoting_me2me_host.cc |
index 0970feb498774b86c39b76798a583f34fbe837e9..7658bd0442e3f56df90f2cc2810b2a52747fcb1e 100644 |
--- a/remoting/host/remoting_me2me_host.cc |
+++ b/remoting/host/remoting_me2me_host.cc |
@@ -1134,7 +1134,8 @@ void HostProcess::ApplyUsernamePolicy() { |
std::string username = GetUsername(); |
bool shutdown = |
username.empty() || |
- !base::StartsWithASCII(host_owner_, username + std::string("@"), false); |
+ !base::StartsWith(host_owner_, username + std::string("@"), |
+ base::CompareCase::INSENSITIVE_ASCII); |
#if defined(OS_MACOSX) |
// On Mac, we run as root at the login screen, so the username won't match. |