Index: net/cert/x509_certificate.cc |
diff --git a/net/cert/x509_certificate.cc b/net/cert/x509_certificate.cc |
index 5a3b18d1f301413435117cabc9dce487df10379a..b6f9cd68307fd8b5b7dfac02b8265d32e6b4bd9a 100644 |
--- a/net/cert/x509_certificate.cc |
+++ b/net/cert/x509_certificate.cc |
@@ -221,7 +221,7 @@ void SplitOnChar(const base::StringPiece& src, |
bool X509Certificate::LessThan::operator()( |
const scoped_refptr<X509Certificate>& lhs, |
const scoped_refptr<X509Certificate>& rhs) const { |
- if (lhs == rhs) |
+ if (lhs.get() == rhs.get()) |
return false; |
int rv = memcmp(lhs->fingerprint_.data, rhs->fingerprint_.data, |