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 abf575f91f9dab95a80fb4b4cdf44b18e04a5983..82f731025aafc449b287633fb56b7b0a2814b181 100644 |
--- a/components/mus/ws/window_manager_client_apptest.cc |
+++ b/components/mus/ws/window_manager_client_apptest.cc |
@@ -229,7 +229,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) { |
@@ -995,7 +995,7 @@ TEST_F(WindowServerTest, EmbedRootSeesHierarchyChanged) { |
GetFirstWMRoot()->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(); |
GetFirstRoot(vm2)->AddChild(vm2_v1); |
@@ -1014,7 +1014,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(); |