| Index: components/exo/pointer_unittest.cc
|
| diff --git a/components/exo/pointer_unittest.cc b/components/exo/pointer_unittest.cc
|
| index eb5c071f588200f32f7d3f493becca9e0d011e83..f49513864ca6f5233a102fc58d8a1e81f4df86bb 100644
|
| --- a/components/exo/pointer_unittest.cc
|
| +++ b/components/exo/pointer_unittest.cc
|
| @@ -175,8 +175,8 @@ TEST_F(PointerTest, OnPointerMotion) {
|
|
|
| std::unique_ptr<Surface> child_surface(new Surface);
|
| std::unique_ptr<ShellSurface> child_shell_surface(new ShellSurface(
|
| - child_surface.get(), shell_surface.get(), gfx::Rect(9, 9, 1, 1), true,
|
| - false, ash::kShellWindowId_DefaultContainer));
|
| + child_surface.get(), shell_surface.get(), ShellSurface::BoundsMode::FIXED,
|
| + gfx::Point(9, 9), true, false, ash::kShellWindowId_DefaultContainer));
|
| gfx::Size child_buffer_size(15, 15);
|
| std::unique_ptr<Buffer> child_buffer(
|
| new Buffer(exo_test_helper()->CreateGpuMemoryBuffer(child_buffer_size)));
|
| @@ -307,9 +307,9 @@ TEST_F(PointerTest, IgnorePointerEventDuringModal) {
|
|
|
| // Create surface for modal window.
|
| std::unique_ptr<Surface> surface2(new Surface);
|
| - std::unique_ptr<ShellSurface> shell_surface2(
|
| - new ShellSurface(surface2.get(), nullptr, gfx::Rect(0, 0, 5, 5), true,
|
| - false, ash::kShellWindowId_SystemModalContainer));
|
| + std::unique_ptr<ShellSurface> shell_surface2(new ShellSurface(
|
| + surface2.get(), nullptr, ShellSurface::BoundsMode::FIXED, gfx::Point(),
|
| + true, false, ash::kShellWindowId_SystemModalContainer));
|
| std::unique_ptr<Buffer> buffer2(
|
| new Buffer(exo_test_helper()->CreateGpuMemoryBuffer(gfx::Size(5, 5))));
|
| surface2->Attach(buffer2.get());
|
|
|