Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(190)

Unified Diff: components/mus/ws/window_manager_access_policy.cc

Issue 1527183003: Change mojo enums to be scoped enums in the generated C++ bindings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mojo-binding-equals
Patch Set: Created 4 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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))

Powered by Google App Engine
This is Rietveld 408576698