| Index: ash/wm/window_state_unittest.cc
|
| diff --git a/ash/wm/window_state_unittest.cc b/ash/wm/window_state_unittest.cc
|
| index 517cbddfd55988f1ccc7eaae2fce50adf9bc97cd..e225d91f68a05456a20fa9ec20ac642ee1a446b2 100644
|
| --- a/ash/wm/window_state_unittest.cc
|
| +++ b/ash/wm/window_state_unittest.cc
|
| @@ -11,6 +11,7 @@
|
| #include "ash/common/wm/wm_event.h"
|
| #include "ash/test/ash_md_test_base.h"
|
| #include "ash/wm/window_state_aura.h"
|
| +#include "services/ui/public/interfaces/window_manager_constants.mojom.h"
|
| #include "ui/aura/client/aura_constants.h"
|
| #include "ui/aura/test/test_window_delegate.h"
|
| #include "ui/aura/window.h"
|
| @@ -133,7 +134,8 @@ TEST_P(WindowStateTest, SnapWindowMinimumSize) {
|
| delegate.set_maximum_size(gfx::Size(0, kWorkAreaBounds.height() - 1));
|
| EXPECT_FALSE(window_state->CanSnap());
|
| delegate.set_maximum_size(gfx::Size());
|
| - window->SetProperty(aura::client::kCanMaximizeKey, false);
|
| + window->SetProperty(aura::client::kResizeBehaviorKey,
|
| + ui::mojom::kResizeBehaviorCanResize);
|
| EXPECT_FALSE(window_state->CanSnap());
|
| }
|
|
|
|
|