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

Unified Diff: components/autofill/core/common/password_form.h

Issue 2565173002: Remove ScopedVector from PasswordStoreX (Closed)
Patch Set: Fix libsecret unittest compilation Created 4 years 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
Index: components/autofill/core/common/password_form.h
diff --git a/components/autofill/core/common/password_form.h b/components/autofill/core/common/password_form.h
index c70da901fc9ede05611b61e3f8f37842678666e0..be74b85ce4da8474ac879cb6844ec2699eb7298b 100644
--- a/components/autofill/core/common/password_form.h
+++ b/components/autofill/core/common/password_form.h
@@ -293,7 +293,8 @@ bool ArePasswordFormUniqueKeyEqual(const PasswordForm& left,
// A comparator for the unique key.
struct LessThanUniqueKey {
- bool operator()(const PasswordForm* left, const PasswordForm* right) const;
+ bool operator()(const std::unique_ptr<PasswordForm>& left,
+ const std::unique_ptr<PasswordForm>& right) const;
};
// For testing.

Powered by Google App Engine
This is Rietveld 408576698