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 f53bfbbf54a3e6dffeda08597252036e0d983d2c..7cf7a4aea683a91eafc1c0d6742762d1c55743f7 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)) |