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

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

Issue 2764433003: mus-ws: Plumb FrameSinkId to Children (Closed)
Patch Set: Addressed Antoine's comment 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 | « ui/aura/mus/window_tree_host_mus.cc ('k') | ui/aura/test/mus/window_tree_client_private.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..041b1adc2fe13369f00753bfb2ddbf84c579a628 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());
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());
EXPECT_FALSE(window_tree()->last_hit_test_mask().has_value());
gfx::Rect mask(10, 10, 10, 10);
« no previous file with comments | « ui/aura/mus/window_tree_host_mus.cc ('k') | ui/aura/test/mus/window_tree_client_private.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698