Index: ui/aura/mus/window_tree_client.cc |
diff --git a/ui/aura/mus/window_tree_client.cc b/ui/aura/mus/window_tree_client.cc |
index 8b5bc8570e20a7ee089776f4be86dd79758953cb..8731ba945f76c2373b77913a94a89c21fb85a77a 100644 |
--- a/ui/aura/mus/window_tree_client.cc |
+++ b/ui/aura/mus/window_tree_client.cc |
@@ -1434,7 +1434,7 @@ void WindowTreeClient::WmSetProperty( |
void WindowTreeClient::WmSetModalType(Id window_id, ui::ModalType type) { |
WindowMus* window = GetWindowByServerId(window_id); |
if (window) |
- window->GetWindow()->SetProperty(aura::client::kModalKey, type); |
+ window_manager_delegate_->OnWmSetModalType(window->GetWindow(), type); |
} |
void WindowTreeClient::WmSetCanFocus(Id window_id, bool can_focus) { |