| Index: chrome/browser/ui/webui/options/certificate_manager_handler.cc
|
| diff --git a/chrome/browser/ui/webui/options/certificate_manager_handler.cc b/chrome/browser/ui/webui/options/certificate_manager_handler.cc
|
| index 6a97f8444c9acd05c8a9aa8ab79bf76cff50d25b..f77cc8b3200c597e4038a7e50c485958a3c4f7fe 100644
|
| --- a/chrome/browser/ui/webui/options/certificate_manager_handler.cc
|
| +++ b/chrome/browser/ui/webui/options/certificate_manager_handler.cc
|
| @@ -114,8 +114,8 @@ std::string NetErrorToString(int net_error) {
|
| // Struct to bind the Equals member function to an object for use in find_if.
|
| struct CertEquals {
|
| explicit CertEquals(const net::X509Certificate* cert) : cert_(cert) {}
|
| - bool operator()(const net::X509Certificate* cert) const {
|
| - return cert_->Equals(cert);
|
| + bool operator()(const scoped_refptr<net::X509Certificate> cert) const {
|
| + return cert_->Equals(cert.get());
|
| }
|
| const net::X509Certificate* cert_;
|
| };
|
|
|