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

Unified Diff: components/mus/public/cpp/tests/window_tree_client_impl_unittest.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/tests/window_tree_client_impl_unittest.cc
diff --git a/components/mus/public/cpp/tests/window_tree_client_impl_unittest.cc b/components/mus/public/cpp/tests/window_tree_client_impl_unittest.cc
index 608916ef01a2c0694b8a858b0c586ea431fd1b12..dd0e876c5c7fd3ed1ca744483122c5e03cc61d15 100644
--- a/components/mus/public/cpp/tests/window_tree_client_impl_unittest.cc
+++ b/components/mus/public/cpp/tests/window_tree_client_impl_unittest.cc
@@ -81,7 +81,7 @@ class WindowTreeSetup {
public:
WindowTreeSetup() : tree_client_(&window_tree_delegate_, nullptr, nullptr) {
WindowTreeClientImplPrivate(&tree_client_)
- .Init(&window_tree_, mojom::WindowTree::ACCESS_POLICY_DEFAULT);
+ .Init(&window_tree_, mojom::WindowTree::kAccessPolicyDefault);
window_tree_.GetAndClearChangeId(nullptr);
}

Powered by Google App Engine
This is Rietveld 408576698