Index: webrtc/base/proxydetect.cc |
diff --git a/webrtc/base/proxydetect.cc b/webrtc/base/proxydetect.cc |
index b0fa30488a1eed3f770bf78afe6fe242b50447a5..8c3ff1d93ff9e439519c35274be29e3503c1da8a 100644 |
--- a/webrtc/base/proxydetect.cc |
+++ b/webrtc/base/proxydetect.cc |
@@ -34,12 +34,12 @@ |
#include "webrtc/base/arraysize.h" |
#include "webrtc/base/checks.h" |
-#include "webrtc/base/common.h" |
#include "webrtc/base/fileutils.h" |
#include "webrtc/base/httpcommon.h" |
#include "webrtc/base/httpcommon-inl.h" |
#include "webrtc/base/pathutils.h" |
#include "webrtc/base/stringutils.h" |
+#include "webrtc/common_types.h" |
#define _TRY_JSPROXY 0 |
#define _TRY_WM_FINDPROXY 0 |
@@ -235,7 +235,7 @@ bool ProxyItemMatch(const Url<char>& url, char * item, size_t len) { |
if (*item == '.') { |
size_t hostlen = url.host().length(); |
return (hostlen > len) |
- && (stricmp(url.host().c_str() + (hostlen - len), item) == 0); |
+ && (STR_CASE_CMP(url.host().c_str() + (hostlen - len), item) == 0); |
} |
// localhost or www.*.com |