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

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

Issue 2764433003: mus-ws: Plumb FrameSinkId to Children (Closed)
Patch Set: Cleanup 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
Index: ui/aura/mus/window_tree_host_mus_unittest.cc
diff --git a/ui/aura/mus/window_tree_host_mus_unittest.cc b/ui/aura/mus/window_tree_host_mus_unittest.cc
index ef119bf4d0d3cf77fc1f5f4f9418fc6efa18c0a8..079ad4698636f7de5e86b8ee0cc6c1f9159f24c8 100644
--- a/ui/aura/mus/window_tree_host_mus_unittest.cc
+++ b/ui/aura/mus/window_tree_host_mus_unittest.cc
@@ -14,7 +14,8 @@ using WindowTreeHostMusTest = aura::test::AuraMusClientTestBase;
TEST_F(WindowTreeHostMusTest, UpdateClientArea) {
std::unique_ptr<WindowTreeHostMus> window_tree_host_mus =
- base::MakeUnique<WindowTreeHostMus>(window_tree_client_impl());
+ base::MakeUnique<WindowTreeHostMus>(window_tree_client_impl(),
+ cc::FrameSinkId(1, 1));
gfx::Insets new_insets(10, 11, 12, 13);
window_tree_host_mus->SetClientArea(new_insets, std::vector<gfx::Rect>());
@@ -23,7 +24,8 @@ TEST_F(WindowTreeHostMusTest, UpdateClientArea) {
TEST_F(WindowTreeHostMusTest, SetHitTestMask) {
std::unique_ptr<WindowTreeHostMus> window_tree_host_mus =
- base::MakeUnique<WindowTreeHostMus>(window_tree_client_impl());
+ base::MakeUnique<WindowTreeHostMus>(window_tree_client_impl(),
+ cc::FrameSinkId(1, 1));
EXPECT_FALSE(window_tree()->last_hit_test_mask().has_value());
gfx::Rect mask(10, 10, 10, 10);

Powered by Google App Engine
This is Rietveld 408576698