| Index: components/mus/ws/window_manager_client_apptest.cc
|
| diff --git a/components/mus/ws/window_manager_client_apptest.cc b/components/mus/ws/window_manager_client_apptest.cc
|
| index 205fd92eada1510c7fe3ddea5c61b3a237376a56..e7311c9205640286d67e9cdf6ec69d6314dbe698 100644
|
| --- a/components/mus/ws/window_manager_client_apptest.cc
|
| +++ b/components/mus/ws/window_manager_client_apptest.cc
|
| @@ -223,7 +223,7 @@ class WindowServerTest : public WindowServerTestBase {
|
| // a response is received, or a timeout. On success the new WindowServer is
|
| // returned.
|
| EmbedResult Embed(Window* window) {
|
| - return Embed(window, mus::mojom::WindowTree::ACCESS_POLICY_DEFAULT);
|
| + return Embed(window, mus::mojom::WindowTree::kAccessPolicyDefault);
|
| }
|
|
|
| EmbedResult Embed(Window* window, uint32_t access_policy_bitmask) {
|
| @@ -991,7 +991,7 @@ TEST_F(WindowServerTest, EmbedRootSeesHierarchyChanged) {
|
| window_manager()->GetRoot()->AddChild(embed_window);
|
|
|
| WindowTreeConnection* vm2 =
|
| - Embed(embed_window, mus::mojom::WindowTree::ACCESS_POLICY_EMBED_ROOT)
|
| + Embed(embed_window, mus::mojom::WindowTree::kAccessPolicyEmbedRoot)
|
| .connection;
|
| Window* vm2_v1 = vm2->NewWindow();
|
| vm2->GetRoot()->AddChild(vm2_v1);
|
| @@ -1010,7 +1010,7 @@ TEST_F(WindowServerTest, EmbedFromEmbedRoot) {
|
|
|
| // Give the connection embedded at |embed_window| embed root powers.
|
| const EmbedResult result1 =
|
| - Embed(embed_window, mus::mojom::WindowTree::ACCESS_POLICY_EMBED_ROOT);
|
| + Embed(embed_window, mus::mojom::WindowTree::kAccessPolicyEmbedRoot);
|
| WindowTreeConnection* vm2 = result1.connection;
|
| EXPECT_EQ(result1.connection_id, vm2->GetConnectionId());
|
| Window* vm2_v1 = vm2->NewWindow();
|
|
|