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

Unified Diff: components/ntp_tiles/ntp_tile.cc

Issue 2341963002: Make NTPTile copyable. (Closed)
Patch Set: Add copy constructor. Created 4 years, 3 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
« no previous file with comments | « components/ntp_tiles/ntp_tile.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/ntp_tiles/ntp_tile.cc
diff --git a/components/ntp_tiles/ntp_tile.cc b/components/ntp_tiles/ntp_tile.cc
index 82d16ce450f808b380c5f4f90ecb522e55bdc149..ece28625aa40c6791cc4b5242af7c0b7e02c4588 100644
--- a/components/ntp_tiles/ntp_tile.cc
+++ b/components/ntp_tiles/ntp_tile.cc
@@ -8,10 +8,8 @@ namespace ntp_tiles {
NTPTile::NTPTile() : source(NTPTileSource::TOP_SITES) {}
+NTPTile::NTPTile(const NTPTile&) = default;
+
NTPTile::~NTPTile() {}
-NTPTile::NTPTile(NTPTile&&) = default;
-
-NTPTile& NTPTile::operator=(NTPTile&&) = default;
-
} // namespace ntp_tiles
« no previous file with comments | « components/ntp_tiles/ntp_tile.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698