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