Index: ash/wm/immersive_context_ash.cc |
diff --git a/ash/wm/immersive_context_ash.cc b/ash/wm/immersive_context_ash.cc |
index 7b28828c76a978e5fdc729c6a9c5fa48ebab46a8..0a844a8dea36357af0c7850cdd014044be071579 100644 |
--- a/ash/wm/immersive_context_ash.cc |
+++ b/ash/wm/immersive_context_ash.cc |
@@ -24,9 +24,8 @@ ImmersiveContextAsh::~ImmersiveContextAsh() {} |
void ImmersiveContextAsh::InstallResizeHandleWindowTargeter( |
ImmersiveFullscreenController* controller) { |
- aura::Window* window = controller->widget()->GetNativeWindow(); |
- window->SetEventTargeter( |
- base::MakeUnique<ResizeHandleWindowTargeter>(window, controller)); |
+ wm::InstallResizeHandleWindowTargeterForWindow( |
+ controller->widget()->GetNativeWindow(), controller); |
} |
void ImmersiveContextAsh::OnEnteringOrExitingImmersive( |