| 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 041b1adc2fe13369f00753bfb2ddbf84c579a628..dadcd9df8db468799ae2b19f83aa199d7f42f8a0 100644
|
| --- a/ui/aura/mus/window_tree_host_mus_unittest.cc
|
| +++ b/ui/aura/mus/window_tree_host_mus_unittest.cc
|
| @@ -5,6 +5,7 @@
|
| #include "ui/aura/mus/window_tree_host_mus.h"
|
|
|
| #include "base/memory/ptr_util.h"
|
| +#include "ui/aura/mus/window_tree_host_mus_init_params.h"
|
| #include "ui/aura/test/aura_mus_test_base.h"
|
| #include "ui/aura/test/mus/test_window_tree.h"
|
|
|
| @@ -14,8 +15,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(),
|
| - cc::FrameSinkId());
|
| + base::MakeUnique<WindowTreeHostMus>(
|
| + aura::CreateInitParamsForTopLevel(window_tree_client_impl()));
|
|
|
| gfx::Insets new_insets(10, 11, 12, 13);
|
| window_tree_host_mus->SetClientArea(new_insets, std::vector<gfx::Rect>());
|
| @@ -24,8 +25,8 @@ TEST_F(WindowTreeHostMusTest, UpdateClientArea) {
|
|
|
| TEST_F(WindowTreeHostMusTest, SetHitTestMask) {
|
| std::unique_ptr<WindowTreeHostMus> window_tree_host_mus =
|
| - base::MakeUnique<WindowTreeHostMus>(window_tree_client_impl(),
|
| - cc::FrameSinkId());
|
| + base::MakeUnique<WindowTreeHostMus>(
|
| + CreateInitParamsForTopLevel(window_tree_client_impl()));
|
|
|
| EXPECT_FALSE(window_tree()->last_hit_test_mask().has_value());
|
| gfx::Rect mask(10, 10, 10, 10);
|
|
|