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 f9991aa4dea946a4f9d319dd1e92e5fd1ff90b7d..4a7900319677ae75406ed95faa3c943ad17b3ada 100644 |
--- a/ash/wm/immersive_fullscreen_controller_unittest.cc |
+++ b/ash/wm/immersive_fullscreen_controller_unittest.cc |
@@ -160,7 +160,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( |
@@ -790,11 +790,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(); |