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

Unified Diff: chrome/browser/sync/test/integration/two_client_app_list_sync_test.cc

Issue 1882243004: Convert //chrome/browser/sync from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address feedback Created 4 years, 8 months 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/two_client_app_list_sync_test.cc
diff --git a/chrome/browser/sync/test/integration/two_client_app_list_sync_test.cc b/chrome/browser/sync/test/integration/two_client_app_list_sync_test.cc
index d7d94d4ccd791bad9171ce5a569cb851bdc6bff7..571db0ba0d6a0a854c92e7c48ce4a2486bc215ad 100644
--- a/chrome/browser/sync/test/integration/two_client_app_list_sync_test.cc
+++ b/chrome/browser/sync/test/integration/two_client_app_list_sync_test.cc
@@ -72,7 +72,7 @@ void CheckAppInfoInPrefs(Profile* profile,
service->GetModel()->top_level_item_list()->FindItem(id);
ASSERT_TRUE(item);
// Ensure local prefs matches the model data.
- scoped_ptr<app_list::AppListPrefs::AppListInfo> info =
+ std::unique_ptr<app_list::AppListPrefs::AppListInfo> info =
app_list::AppListPrefs::Get(profile)->GetAppListInfo(id);
ASSERT_TRUE(info);
EXPECT_EQ(item->name(), info->name);

Powered by Google App Engine
This is Rietveld 408576698