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

Unified Diff: ui/aura/mus/window_tree_client.cc

Issue 2734933004: ash: Use SessionController instead of SessionStateDelegate (Closed)
Patch Set: rebase to get WorkspaceLayoutManagerSoloTest change Created 3 years, 9 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 | « chrome/test/base/view_event_test_platform_part_chromeos.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..5f5ff4cdcd67425d3d866a12fb5003153b24ad81 100644
--- a/ui/aura/mus/window_tree_client.cc
+++ b/ui/aura/mus/window_tree_client.cc
@@ -1607,8 +1607,10 @@ void WindowTreeClient::SetFrameDecorationValues(
void WindowTreeClient::SetNonClientCursor(Window* window,
ui::mojom::Cursor cursor_id) {
- window_manager_internal_client_->WmSetNonClientCursor(
- WindowMus::Get(window)->server_id(), cursor_id);
+ if (window_manager_internal_client_) {
+ window_manager_internal_client_->WmSetNonClientCursor(
+ WindowMus::Get(window)->server_id(), cursor_id);
+ }
}
void WindowTreeClient::AddAccelerators(
« no previous file with comments | « chrome/test/base/view_event_test_platform_part_chromeos.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698