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

Unified Diff: components/web_view/public/cpp/web_view.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: rebase Created 4 years, 11 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
« no previous file with comments | « components/web_view/frame_apptest.cc ('k') | components/web_view/web_view_apptest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/web_view/public/cpp/web_view.cc
diff --git a/components/web_view/public/cpp/web_view.cc b/components/web_view/public/cpp/web_view.cc
index 7f66c695c112a0d57f94053e4b143bec2e61f846..85af0f483e0e3e8c1f76cbf476591ed87d974b95 100644
--- a/components/web_view/public/cpp/web_view.cc
+++ b/components/web_view/public/cpp/web_view.cc
@@ -36,7 +36,7 @@ void WebView::Init(mojo::ApplicationImpl* app, mus::Window* window) {
mus::mojom::WindowTreeClientPtr window_tree_client;
web_view_->GetWindowTreeClient(GetProxy(&window_tree_client));
window->Embed(std::move(window_tree_client),
- mus::mojom::WindowTree::ACCESS_POLICY_EMBED_ROOT,
+ mus::mojom::WindowTree::kAccessPolicyEmbedRoot,
base::Bind(&OnEmbed));
}
« no previous file with comments | « components/web_view/frame_apptest.cc ('k') | components/web_view/web_view_apptest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698