Index: components/mus/ws/window_manager_access_policy.cc |
diff --git a/components/mus/ws/window_manager_access_policy.cc b/components/mus/ws/window_manager_access_policy.cc |
index 65ac9c1859e548715813a8043fb24a594f2e6605..a6293ae7ba05b5bd53bb1048f516173aeddb03ee 100644 |
--- a/components/mus/ws/window_manager_access_policy.cc |
+++ b/components/mus/ws/window_manager_access_policy.cc |
@@ -79,7 +79,7 @@ bool WindowManagerAccessPolicy::CanChangeWindowVisibility( |
bool WindowManagerAccessPolicy::CanSetWindowSurface( |
const ServerWindow* window, |
mus::mojom::SurfaceType surface_type) const { |
- if (surface_type == mojom::SURFACE_TYPE_UNDERLAY) |
+ if (surface_type == mojom::SurfaceType::UNDERLAY) |
return window->id().connection_id == connection_id_; |
if (delegate_->IsWindowRootOfAnotherConnectionForAccessPolicy(window)) |