Index: ui/app_list/presenter/app_list_presenter_impl.cc |
diff --git a/ui/app_list/presenter/app_list_presenter_impl.cc b/ui/app_list/presenter/app_list_presenter_impl.cc |
index 2ecdc20ffffb57f4ffddc3549e86e7c0954c2888..8b9ab26a26925574d9ddf3e3459148abbf19d458 100644 |
--- a/ui/app_list/presenter/app_list_presenter_impl.cc |
+++ b/ui/app_list/presenter/app_list_presenter_impl.cc |
@@ -189,7 +189,7 @@ int64_t AppListPresenterImpl::GetDisplayId() { |
if (!widget) |
return display::kInvalidDisplayId; |
return display::Screen::GetScreen() |
- ->GetDisplayNearestWindow(widget->GetNativeView()) |
+ ->GetDisplayNearestView(widget->GetNativeView()) |
.id(); |
} |