Index: chrome/browser/chromeos/platform_keys/platform_keys_nss.cc |
diff --git a/chrome/browser/chromeos/platform_keys/platform_keys_nss.cc b/chrome/browser/chromeos/platform_keys/platform_keys_nss.cc |
index 937390ea0e063f69bda53f7a0a90b19d7f312999..0bdb44bdc2f4ddb1a6ba59b41eb0ce75560115d5 100644 |
--- a/chrome/browser/chromeos/platform_keys/platform_keys_nss.cc |
+++ b/chrome/browser/chromeos/platform_keys/platform_keys_nss.cc |
@@ -633,7 +633,7 @@ void ImportCertificateWithDB(scoped_ptr<ImportCertificateState> state, |
// Check that the private key is in the correct slot. |
PK11SlotInfo* slot = |
PK11_KeyForCertExists(state->certificate_->os_cert_handle(), NULL, NULL); |
- if (slot != state->slot_) { |
+ if (slot != state->slot_.get()) { |
state->OnError(FROM_HERE, kErrorKeyNotFound); |
return; |
} |