Index: net/cert/mock_cert_verifier.cc |
diff --git a/net/cert/mock_cert_verifier.cc b/net/cert/mock_cert_verifier.cc |
index ba89b7137fb3a6d51d5cc1d7a891e42368cd0fee..db23fda2d2e1f5cee68d44d78f04b8af95629a2d 100644 |
--- a/net/cert/mock_cert_verifier.cc |
+++ b/net/cert/mock_cert_verifier.cc |
@@ -5,7 +5,7 @@ |
#include "net/cert/mock_cert_verifier.h" |
#include "base/memory/ref_counted.h" |
-#include "base/strings/string_util.h" |
+#include "base/strings/pattern.h" |
#include "net/base/net_errors.h" |
#include "net/cert/cert_status_flags.h" |
#include "net/cert/cert_verify_result.h" |
@@ -50,7 +50,7 @@ int MockCertVerifier::Verify(X509Certificate* cert, |
// Check just the server cert. Intermediates will be ignored. |
if (!it->cert->Equals(cert)) |
continue; |
- if (!MatchPattern(hostname, it->hostname)) |
+ if (!base::MatchPattern(hostname, it->hostname)) |
continue; |
*verify_result = it->result; |
return it->rv; |