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

Unified Diff: chrome/browser/sync/test/integration/single_client_bookmarks_sync_test.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/sync/test/integration/single_client_bookmarks_sync_test.cc
diff --git a/chrome/browser/sync/test/integration/single_client_bookmarks_sync_test.cc b/chrome/browser/sync/test/integration/single_client_bookmarks_sync_test.cc
index e7519ea223da9010710872b90980cbe7a1f3efda..ed696cec9bca1cad5216fcec0a629011f49f59b2 100644
--- a/chrome/browser/sync/test/integration/single_client_bookmarks_sync_test.cc
+++ b/chrome/browser/sync/test/integration/single_client_bookmarks_sync_test.cc
@@ -2,6 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include <utility>
+
#include "base/macros.h"
#include "base/strings/utf_string_conversions.h"
#include "chrome/browser/profiles/profile.h"
@@ -352,7 +354,7 @@ IN_PROC_BROWSER_TEST_F(SingleClientBookmarksSyncTest,
std::string entity_id = server_bookmarks[0].id_string();
scoped_ptr<fake_server::FakeServerEntity> tombstone(
fake_server::TombstoneEntity::Create(entity_id));
- GetFakeServer()->InjectEntity(tombstone.Pass());
+ GetFakeServer()->InjectEntity(std::move(tombstone));
const syncer::ModelTypeSet kBookmarksType(syncer::BOOKMARKS);
TriggerSyncForModelTypes(kSingleProfileIndex, kBookmarksType);

Powered by Google App Engine
This is Rietveld 408576698