Index: cloud_print/service/win/service_utils.cc |
diff --git a/cloud_print/service/win/service_utils.cc b/cloud_print/service/win/service_utils.cc |
index 69324474d9764b89cf0390d3b580f4e0899c8d81..e64b5cb3b2d8ad17b2438e710de95a8d6dd0fe19 100644 |
--- a/cloud_print/service/win/service_utils.cc |
+++ b/cloud_print/service/win/service_utils.cc |
@@ -28,7 +28,8 @@ base::string16 GetLocalComputerName() { |
base::string16 ReplaceLocalHostInName(const base::string16& user_name) { |
static const wchar_t kLocalDomain[] = L".\\"; |
- if (base::StartsWith(user_name, kLocalDomain, true)) { |
+ if (base::StartsWith(user_name, kLocalDomain, |
+ base::CompareCase::SENSITIVE)) { |
return GetLocalComputerName() + |
user_name.substr(arraysize(kLocalDomain) - 2); |
} |