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

Unified Diff: ash/display/window_tree_host_manager_unittest.cc

Issue 1819533002: Convert ScopedVector<DisplayPlacement> to std::vector<DisplayPlacement> (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@jsonrefactor
Patch Set: Created 4 years, 9 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
« no previous file with comments | « ash/display/window_tree_host_manager.cc ('k') | ash/extended_desktop_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/display/window_tree_host_manager_unittest.cc
diff --git a/ash/display/window_tree_host_manager_unittest.cc b/ash/display/window_tree_host_manager_unittest.cc
index eb017437a5f92a34aad0e7d410e56d07ddb1b833..0fdcb58148fb195fd263c4db811004ebd87825a5 100644
--- a/ash/display/window_tree_host_manager_unittest.cc
+++ b/ash/display/window_tree_host_manager_unittest.cc
@@ -807,7 +807,7 @@ TEST_F(WindowTreeHostManagerTest, SwapPrimaryById) {
EXPECT_EQ("200,0 300x253", secondary_display.work_area().ToString());
EXPECT_EQ(
"id=2200000001, parent=2200000000, right, 50",
- display_manager->GetCurrentDisplayLayout().placement_list[0]->ToString());
+ display_manager->GetCurrentDisplayLayout().placement_list[0].ToString());
// Switch primary and secondary by display ID.
TestObserver observer;
@@ -828,7 +828,7 @@ TEST_F(WindowTreeHostManagerTest, SwapPrimaryById) {
display_manager->GetCurrentDisplayLayout();
EXPECT_EQ("id=2200000000, parent=2200000001, left, -50",
- inverted_layout.placement_list[0]->ToString());
+ inverted_layout.placement_list[0].ToString());
// Test if the bounds are correctly swapped.
gfx::Display swapped_primary = gfx::Screen::GetScreen()->GetPrimaryDisplay();
gfx::Display swapped_secondary = ScreenUtil::GetSecondaryDisplay();
« no previous file with comments | « ash/display/window_tree_host_manager.cc ('k') | ash/extended_desktop_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698