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

Unified Diff: components/mus/public/cpp/lib/window_tree_client_impl.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/public/cpp/lib/window_tree_client_impl.cc
diff --git a/components/mus/public/cpp/lib/window_tree_client_impl.cc b/components/mus/public/cpp/lib/window_tree_client_impl.cc
index aa72171efdd5f54380bb1240201aa883f36d7b40..2c01a5ae7d8c7864357d2570f8e13a0892a05c7d 100644
--- a/components/mus/public/cpp/lib/window_tree_client_impl.cc
+++ b/components/mus/public/cpp/lib/window_tree_client_impl.cc
@@ -394,7 +394,7 @@ void WindowTreeClientImpl::OnEmbedImpl(mojom::WindowTree* window_tree,
tree_ = window_tree;
connection_id_ = connection_id;
is_embed_root_ =
- (access_policy & mojom::WindowTree::ACCESS_POLICY_EMBED_ROOT) != 0;
+ (access_policy & mojom::WindowTree::kAccessPolicyEmbedRoot) != 0;
DCHECK(!root_);
root_ = AddWindowToConnection(this, nullptr, root_data);

Powered by Google App Engine
This is Rietveld 408576698