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

Unified Diff: components/mus/ws/cursor_unittest.cc

Issue 2105483002: mus: Make sure only valid user-ids can be active. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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 | « no previous file | components/mus/ws/display_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/ws/cursor_unittest.cc
diff --git a/components/mus/ws/cursor_unittest.cc b/components/mus/ws/cursor_unittest.cc
index 0bcfb1a5b61ff70fcecf86f632996f7c92949076..995318e85f04d2316b919ea0d5e6cdf35c22a67e 100644
--- a/components/mus/ws/cursor_unittest.cc
+++ b/components/mus/ws/cursor_unittest.cc
@@ -55,6 +55,7 @@ class CursorTest : public testing::Test {
WindowManagerWindowTreeFactorySetTestApi(
window_server_->window_manager_window_tree_factory_set())
.Add(kTestId1);
+ window_server_->user_id_tracker()->AddUserId(kTestId1);
window_server_->user_id_tracker()->SetActiveUserId(kTestId1);
}
« no previous file with comments | « no previous file | components/mus/ws/display_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698