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

Unified Diff: chrome/browser/data_usage/tab_id_annotator_unittest.cc

Issue 1551503002: Convert Pass()→std::move() in //chrome (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/data_usage/tab_id_annotator_unittest.cc
diff --git a/chrome/browser/data_usage/tab_id_annotator_unittest.cc b/chrome/browser/data_usage/tab_id_annotator_unittest.cc
index 299d40032c9df39e1fd00c0b067b08915bd7146a..c17ccb52f4839f67ff17e86616dce9dccdacb4c8 100644
--- a/chrome/browser/data_usage/tab_id_annotator_unittest.cc
+++ b/chrome/browser/data_usage/tab_id_annotator_unittest.cc
@@ -5,8 +5,8 @@
#include "chrome/browser/data_usage/tab_id_annotator.h"
#include <stdint.h>
-
#include <string>
+#include <utility>
#include "base/bind.h"
#include "base/callback.h"
@@ -70,7 +70,7 @@ void ExpectDataUseAndQuit(base::RunLoop* ui_run_loop,
scoped_ptr<DataUse> expected,
scoped_ptr<DataUse> actual) {
DCHECK(ui_run_loop);
- ExpectDataUse(expected.Pass(), actual.Pass());
+ ExpectDataUse(std::move(expected), std::move(actual));
// This can't use run_loop->QuitClosure here because that uses WeakPtrs, which
// aren't thread safe.

Powered by Google App Engine
This is Rietveld 408576698