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

Unified Diff: chrome/browser/ui/autofill/popup_controller_common.cc

Issue 1608733002: Remove ui/gfx/screen_type_delegate.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@metro-mode-4
Patch Set: GetNativeScreen Created 4 years, 11 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
Index: chrome/browser/ui/autofill/popup_controller_common.cc
diff --git a/chrome/browser/ui/autofill/popup_controller_common.cc b/chrome/browser/ui/autofill/popup_controller_common.cc
index 0bf73db64841bdf98b998e4565830b478051f5e1..7e6211c78c99ddca9ce187c4f0364f39d93021e7 100644
--- a/chrome/browser/ui/autofill/popup_controller_common.cc
+++ b/chrome/browser/ui/autofill/popup_controller_common.cc
@@ -55,8 +55,7 @@ void PopupControllerCommon::RemoveKeyPressCallback() {
gfx::Display PopupControllerCommon::GetDisplayNearestPoint(
const gfx::Point& point) const {
- return gfx::Screen::GetScreenFor(container_view_)->GetDisplayNearestPoint(
- point);
+ return gfx::Screen::GetScreen()->GetDisplayNearestPoint(point);
}
const gfx::Rect PopupControllerCommon::RoundedElementBounds() const {

Powered by Google App Engine
This is Rietveld 408576698