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

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: 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: mash/wm/window_manager_impl.cc
diff --git a/mash/wm/window_manager_impl.cc b/mash/wm/window_manager_impl.cc
index bc664a9bd55b02823decfa7503088f60d90a17f8..a3b53e311906ac6cc04258c320dcd8a8e4bb562c 100644
--- a/mash/wm/window_manager_impl.cc
+++ b/mash/wm/window_manager_impl.cc
@@ -106,7 +106,7 @@ void WindowManagerImpl::OpenWindow(
mus::Window::SharedProperties properties =
transport_properties.To<mus::Window::SharedProperties>();
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();

Powered by Google App Engine
This is Rietveld 408576698