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

Unified Diff: components/exo/display_unittest.cc

Issue 2645663004: exo: Initial support for multiple displays in ARC (Closed)
Patch Set: Fix race and refactor Created 3 years, 10 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: components/exo/display_unittest.cc
diff --git a/components/exo/display_unittest.cc b/components/exo/display_unittest.cc
index a27d0d6398ced5bc7f690d9e4edf4554f5cf8917..a9a4f0edbfefe48f1ff84dee06ba14c4fa7aa810 100644
--- a/components/exo/display_unittest.cc
+++ b/components/exo/display_unittest.cc
@@ -147,12 +147,13 @@ TEST_F(DisplayTest, CreateRemoteShellSurface) {
// Create a remote shell surface for surface1.
std::unique_ptr<ShellSurface> shell_surface1 =
display->CreateRemoteShellSurface(
- surface1.get(), ash::kShellWindowId_SystemModalContainer);
+ surface1.get(), gfx::Point(),
+ ash::kShellWindowId_SystemModalContainer);
EXPECT_TRUE(shell_surface1);
// Create a remote shell surface for surface2.
std::unique_ptr<ShellSurface> shell_surface2 =
- display->CreateRemoteShellSurface(surface2.get(),
+ display->CreateRemoteShellSurface(surface2.get(), gfx::Point(),
ash::kShellWindowId_DefaultContainer);
EXPECT_TRUE(shell_surface2);
}

Powered by Google App Engine
This is Rietveld 408576698