| Index: components/mus/ws/default_access_policy.cc
|
| diff --git a/components/mus/ws/default_access_policy.cc b/components/mus/ws/default_access_policy.cc
|
| index 9deb3da935162c457023cd83f35c52f62ce35966..129cc94ae6500ff9a4379a3e7fdb26ef4dd86baf 100644
|
| --- a/components/mus/ws/default_access_policy.cc
|
| +++ b/components/mus/ws/default_access_policy.cc
|
| @@ -79,7 +79,7 @@ bool DefaultAccessPolicy::CanDescendIntoWindowForWindowTree(
|
|
|
| bool DefaultAccessPolicy::CanEmbed(const ServerWindow* window,
|
| uint32_t policy_bitmask) const {
|
| - if (policy_bitmask != mojom::WindowTree::ACCESS_POLICY_DEFAULT)
|
| + if (policy_bitmask != mojom::WindowTree::kAccessPolicyDefault)
|
| return false;
|
| return WasCreatedByThisConnection(window) ||
|
| (delegate_->IsWindowKnownForAccessPolicy(window) &&
|
| @@ -96,7 +96,7 @@ bool DefaultAccessPolicy::CanChangeWindowVisibility(
|
| bool DefaultAccessPolicy::CanSetWindowSurface(
|
| const ServerWindow* window,
|
| mojom::SurfaceType surface_type) const {
|
| - if (surface_type == mojom::SURFACE_TYPE_UNDERLAY)
|
| + if (surface_type == mojom::SurfaceType::UNDERLAY)
|
| return WasCreatedByThisConnection(window);
|
|
|
| // Once a window embeds another app, the embedder app is no longer able to
|
|
|