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

Unified Diff: chrome/browser/android/history_report/data_provider.cc

Issue 1551033002: Convert Pass()→std::move() in //chrome (Android edition) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Enable RVO by making types match Created 5 years 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: chrome/browser/android/history_report/data_provider.cc
diff --git a/chrome/browser/android/history_report/data_provider.cc b/chrome/browser/android/history_report/data_provider.cc
index cde2a3acd1cd5986245439be9efaa9102ce52691..73c843545899bcbc55f019a3224595478bb01f9c 100644
--- a/chrome/browser/android/history_report/data_provider.cc
+++ b/chrome/browser/android/history_report/data_provider.cc
@@ -151,7 +151,7 @@ scoped_ptr<std::vector<DeltaFileEntryWithData>> DataProvider::Query(
if (entry.SeqNo() > last_seq_no) last_seq_no = entry.SeqNo();
}
} while (!entries->empty() && valid_entries->empty());
- return valid_entries.Pass();
+ return valid_entries;
}
void DataProvider::StartVisitMigrationToUsageBuffer(

Powered by Google App Engine
This is Rietveld 408576698