Index: components/mus/ws/window_tree_unittest.cc |
diff --git a/components/mus/ws/window_tree_unittest.cc b/components/mus/ws/window_tree_unittest.cc |
index 3c13428bd0c04875dd082064dbe1ab7da4505cc1..5f69b294e97ebb5e64737a795ff3088859acb79e 100644 |
--- a/components/mus/ws/window_tree_unittest.cc |
+++ b/components/mus/ws/window_tree_unittest.cc |
@@ -354,7 +354,8 @@ class WindowTreeTest : public testing::Test { |
// Verifies focus correctly changes on pointer events. |
TEST_F(WindowTreeTest, FocusOnPointer) { |
const WindowId embed_window_id(wm_connection()->id(), 1); |
- EXPECT_TRUE(wm_connection()->NewWindow(embed_window_id)); |
+ EXPECT_TRUE( |
+ wm_connection()->NewWindow(embed_window_id, ServerWindow::Properties())); |
EXPECT_TRUE(wm_connection()->SetWindowVisibility(embed_window_id, true)); |
EXPECT_TRUE( |
wm_connection()->AddWindow(*(wm_connection()->root()), embed_window_id)); |
@@ -379,7 +380,7 @@ TEST_F(WindowTreeTest, FocusOnPointer) { |
->SetBounds(gfx::Rect(0, 0, 50, 50)); |
const WindowId child1(connection1->id(), 1); |
- EXPECT_TRUE(connection1->NewWindow(child1)); |
+ EXPECT_TRUE(connection1->NewWindow(child1, ServerWindow::Properties())); |
EXPECT_TRUE(connection1->AddWindow(embed_window_id, child1)); |
ServerWindow* v1 = connection1->GetWindow(child1); |
v1->SetVisible(true); |
@@ -436,7 +437,8 @@ TEST_F(WindowTreeTest, FocusOnPointer) { |
TEST_F(WindowTreeTest, BasicInputEventTarget) { |
const WindowId embed_window_id(wm_connection()->id(), 1); |
- EXPECT_TRUE(wm_connection()->NewWindow(embed_window_id)); |
+ EXPECT_TRUE( |
+ wm_connection()->NewWindow(embed_window_id, ServerWindow::Properties())); |
EXPECT_TRUE(wm_connection()->SetWindowVisibility(embed_window_id, true)); |
EXPECT_TRUE( |
wm_connection()->AddWindow(*(wm_connection()->root()), embed_window_id)); |
@@ -461,7 +463,7 @@ TEST_F(WindowTreeTest, BasicInputEventTarget) { |
->SetBounds(gfx::Rect(0, 0, 50, 50)); |
const WindowId child1(connection1->id(), 1); |
- EXPECT_TRUE(connection1->NewWindow(child1)); |
+ EXPECT_TRUE(connection1->NewWindow(child1, ServerWindow::Properties())); |
EXPECT_TRUE(connection1->AddWindow(embed_window_id, child1)); |
ServerWindow* v1 = connection1->GetWindow(child1); |
v1->SetVisible(true); |