| Index: ios/chrome/browser/reading_list/reading_list_entry.cc
|
| diff --git a/ios/chrome/browser/reading_list/reading_list_entry.cc b/ios/chrome/browser/reading_list/reading_list_entry.cc
|
| index 62fa14300bc4f9b724d7bb7152295b44d6878eb9..987c5e32be7241d2486b9a5f857f5d039dbfb400 100644
|
| --- a/ios/chrome/browser/reading_list/reading_list_entry.cc
|
| +++ b/ios/chrome/browser/reading_list/reading_list_entry.cc
|
| @@ -9,7 +9,7 @@ ReadingListEntry::ReadingListEntry(const GURL& url, const std::string& title)
|
| DCHECK(!url.is_empty());
|
| DCHECK(url.is_valid());
|
| }
|
| -ReadingListEntry::ReadingListEntry(const ReadingListEntry& entry)
|
| +ReadingListEntry::ReadingListEntry(ReadingListEntry&& entry)
|
| : url_(entry.URL()),
|
| title_(entry.Title()),
|
| distilled_url_(entry.DistilledURL()),
|
| @@ -32,7 +32,7 @@ const GURL& ReadingListEntry::DistilledURL() const {
|
| return distilled_url_;
|
| }
|
|
|
| -ReadingListEntry& ReadingListEntry::operator=(const ReadingListEntry& other) {
|
| +ReadingListEntry& ReadingListEntry::operator=(ReadingListEntry&& other) {
|
| url_ = other.url_;
|
| title_ = other.title_;
|
| distilled_url_ = other.distilled_url_;
|
|
|