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

Unified Diff: components/autofill/core/browser/field_candidates.cc

Issue 1825273002: Add more out of line copy ctors for complex classes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 months 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/browser/field_candidates.cc
diff --git a/components/autofill/core/browser/field_candidates.cc b/components/autofill/core/browser/field_candidates.cc
index d133b08220363dd90b88ec3e2bb18130dbee9587..142e435093a27d73cfe547cb93521ae712cec237 100644
--- a/components/autofill/core/browser/field_candidates.cc
+++ b/components/autofill/core/browser/field_candidates.cc
@@ -16,6 +16,8 @@ FieldCandidate::FieldCandidate(ServerFieldType field_type, float field_score)
FieldCandidates::FieldCandidates() {}
+FieldCandidates::FieldCandidates(const FieldCandidates& other) = default;
+
FieldCandidates::~FieldCandidates() {}
void FieldCandidates::AddFieldCandidate(ServerFieldType type, float score) {
« no previous file with comments | « components/autofill/core/browser/field_candidates.h ('k') | components/mus/ws/platform_display_init_params.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698