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

Unified Diff: mash/wm/window_manager_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: 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 | « mash/wm/window_manager_application.cc ('k') | media/mojo/interfaces/decryptor.mojom » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mash/wm/window_manager_impl.cc
diff --git a/mash/wm/window_manager_impl.cc b/mash/wm/window_manager_impl.cc
index 5195c1f7786b0933440673b6dc632004cc40226a..dd649c5192d58eb512ae409f2f38d1c05aecb2db 100644
--- a/mash/wm/window_manager_impl.cc
+++ b/mash/wm/window_manager_impl.cc
@@ -92,7 +92,7 @@ mus::Window* WindowManagerImpl::NewTopLevelWindow(
DCHECK(root);
const bool provide_non_client_frame =
- GetWindowType(*properties) == mus::mojom::WINDOW_TYPE_WINDOW;
+ GetWindowType(*properties) == mus::mojom::WindowType::WINDOW;
if (provide_non_client_frame)
(*properties)[mus::mojom::kWaitForUnderlay_Property].clear();
« no previous file with comments | « mash/wm/window_manager_application.cc ('k') | media/mojo/interfaces/decryptor.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698