Index: remoting/host/it2me/it2me_host.cc |
diff --git a/remoting/host/it2me/it2me_host.cc b/remoting/host/it2me/it2me_host.cc |
index 49cca624e1ba4b0137b824cc388e6e079d375ba7..fe9e8c6176a0d4f00188e1bcca28ad17984ad8b4 100644 |
--- a/remoting/host/it2me/it2me_host.cc |
+++ b/remoting/host/it2me/it2me_host.cc |
@@ -197,7 +197,8 @@ void It2MeHost::FinishConnect() { |
// Check the host domain policy. |
if (!required_host_domain_.empty() && |
!base::EndsWith(xmpp_server_config_.username, |
- std::string("@") + required_host_domain_, false)) { |
+ std::string("@") + required_host_domain_, |
+ base::CompareCase::INSENSITIVE_ASCII)) { |
SetState(kInvalidDomainError, ""); |
return; |
} |