Index: ash/common/shelf/shelf_item_types.cc |
diff --git a/ash/common/shelf/shelf_item_types.cc b/ash/common/shelf/shelf_item_types.cc |
index 74fce98b5eddf8bd0cd69f6b38231eba620ee426..dd7779d8dd4eda359f5f0e1feb0f458d3ffde0bc 100644 |
--- a/ash/common/shelf/shelf_item_types.cc |
+++ b/ash/common/shelf/shelf_item_types.cc |
@@ -7,6 +7,15 @@ |
namespace ash { |
ShelfItem::ShelfItem() {} |
+ |
+ShelfItem::ShelfItem(const ShelfItem& shelf_item) |
sky
2016/12/08 00:38:54
Can this = default?
msw
2016/12/08 20:31:36
Done. Good call, thanks! Aside: I wonder why addin
|
+ : type(shelf_item.type), |
+ image(shelf_item.image), |
+ id(shelf_item.id), |
+ status(shelf_item.status), |
+ app_id(shelf_item.app_id), |
+ shows_tooltip(shelf_item.shows_tooltip) {} |
+ |
ShelfItem::~ShelfItem() {} |
} // namespace ash |