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

Unified Diff: components/cloud_devices/common/printer_description.cc

Issue 1728033002: components: Add out-of-line copy ctors for complex classes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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/cloud_devices/common/printer_description.cc
diff --git a/components/cloud_devices/common/printer_description.cc b/components/cloud_devices/common/printer_description.cc
index 2602af8f1f8eaed231ced37374e9e57e147077ab..a5e03a0999ee9d6eb8c0662df369b59c5b3c4828 100644
--- a/components/cloud_devices/common/printer_description.cc
+++ b/components/cloud_devices/common/printer_description.cc
@@ -471,6 +471,8 @@ Media::Media(const std::string& custom_display_name,
custom_display_name(custom_display_name),
vendor_id(vendor_id) {}
+Media::Media(const Media& other) = default;
+
bool Media::MatchBySize() {
const MediaDefinition* media = FindMediaBySize(width_um, height_um);
if (!media)

Powered by Google App Engine
This is Rietveld 408576698