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

Unified Diff: ash/test/display_manager_test_api.cc

Issue 1867223004: Convert //ash from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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: ash/test/display_manager_test_api.cc
diff --git a/ash/test/display_manager_test_api.cc b/ash/test/display_manager_test_api.cc
index 10ef37f7060ec3402b89ce8dcd5485e103c4e08b..a324fa5b13d1dbebef0efadec2f5d1bf9595c397 100644
--- a/ash/test/display_manager_test_api.cc
+++ b/ash/test/display_manager_test_api.cc
@@ -171,7 +171,7 @@ void SwapPrimaryDisplay() {
ScreenUtil::GetSecondaryDisplay().id());
}
-scoped_ptr<display::DisplayLayout> CreateDisplayLayout(
+std::unique_ptr<display::DisplayLayout> CreateDisplayLayout(
display::DisplayPlacement::Position position,
int offset) {
DisplayManager* display_manager = Shell::GetInstance()->display_manager();

Powered by Google App Engine
This is Rietveld 408576698