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

Unified Diff: chrome/browser/extensions/activity_log/counting_policy.cc

Issue 1549233002: Convert Pass()→std::move() in //chrome/browser/extensions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase 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/extensions/activity_log/counting_policy.cc
diff --git a/chrome/browser/extensions/activity_log/counting_policy.cc b/chrome/browser/extensions/activity_log/counting_policy.cc
index dbe432aab44b5528b37a657bd3d699c30b4e01ae..92e31eb56df90c053cef6148c9278cc37b982b33 100644
--- a/chrome/browser/extensions/activity_log/counting_policy.cc
+++ b/chrome/browser/extensions/activity_log/counting_policy.cc
@@ -435,7 +435,7 @@ scoped_ptr<Action::ActionVector> CountingPolicy::DoReadFilteredData(
sql::Connection* db = GetDatabaseConnection();
if (!db)
- return actions.Pass();
+ return actions;
// Build up the query based on which parameters were specified.
std::string where_str = "";
@@ -523,7 +523,7 @@ scoped_ptr<Action::ActionVector> CountingPolicy::DoReadFilteredData(
actions->push_back(action);
}
- return actions.Pass();
+ return actions;
}
void CountingPolicy::DoRemoveActions(const std::vector<int64_t>& action_ids) {

Powered by Google App Engine
This is Rietveld 408576698