Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(315)

Unified Diff: ui/app_list/presenter/app_list_presenter_impl.cc

Issue 2751833004: Reland "Add display::GetDisplayNearestView" (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/android/dummy_screen_android.cc ('k') | ui/aura/test/test_screen.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
}
« no previous file with comments | « ui/android/dummy_screen_android.cc ('k') | ui/aura/test/test_screen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698