Index: ash/wm/immersive_fullscreen_controller_unittest.cc |
diff --git a/ash/wm/immersive_fullscreen_controller_unittest.cc b/ash/wm/immersive_fullscreen_controller_unittest.cc |
index 5547ba6e9d9ad45e00a8965e4c9c35b46ee79acc..8ac86e86892b366bfa1dea00c18e559faf07130b 100644 |
--- a/ash/wm/immersive_fullscreen_controller_unittest.cc |
+++ b/ash/wm/immersive_fullscreen_controller_unittest.cc |
@@ -161,7 +161,7 @@ class ImmersiveFullscreenControllerTest : public ash::test::AshTestBase { |
top_container_ = new views::View(); |
top_container_->SetBounds( |
0, 0, window_size.width(), 100); |
- top_container_->SetFocusable(true); |
+ top_container_->SetFocusBehavior(views::View::FocusBehavior::ALWAYS); |
widget_->GetContentsView()->AddChildView(top_container_); |
delegate_.reset( |
@@ -791,11 +791,11 @@ TEST_F(ImmersiveFullscreenControllerTest, Focus) { |
// test. |
views::View* child_view = new views::View(); |
child_view->SetBounds(0, 0, 10, 10); |
- child_view->SetFocusable(true); |
+ child_view->SetFocusBehavior(views::View::FocusBehavior::ALWAYS); |
top_container()->AddChildView(child_view); |
views::View* unrelated_view = new views::View(); |
unrelated_view->SetBounds(0, 100, 10, 10); |
- unrelated_view->SetFocusable(true); |
+ unrelated_view->SetFocusBehavior(views::View::FocusBehavior::ALWAYS); |
top_container()->parent()->AddChildView(unrelated_view); |
views::FocusManager* focus_manager = |
top_container()->GetWidget()->GetFocusManager(); |