Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2098)

Unified Diff: chrome/browser/chromeos/platform_keys/platform_keys_nss.cc

Issue 1440593004: Make operators on scoped_ptr match the ones defined for std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: scopedptrequals: followupfix-after-rebase Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/trees/layer_tree_host_impl.cc ('k') | chrome/browser/chromeos/policy/consumer_enrollment_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
}
« no previous file with comments | « cc/trees/layer_tree_host_impl.cc ('k') | chrome/browser/chromeos/policy/consumer_enrollment_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698