Index: ui/display/win/screen_win.cc |
diff --git a/ui/display/win/screen_win.cc b/ui/display/win/screen_win.cc |
index 636eb90dc3add9da339676e9612aba3990aeeaae..a62cde1cd6075adc59c021645b95ca16dd6fdca5 100644 |
--- a/ui/display/win/screen_win.cc |
+++ b/ui/display/win/screen_win.cc |
@@ -393,7 +393,7 @@ const std::vector<Display>& ScreenWin::GetAllDisplays() const { |
return displays_; |
} |
-Display ScreenWin::GetDisplayNearestWindow(gfx::NativeView window) const { |
+Display ScreenWin::GetDisplayNearestWindow(gfx::NativeWindow window) const { |
HWND window_hwnd = GetHWNDFromNativeView(window); |
if (!window_hwnd) { |
// When |window| isn't rooted to a display, we should just return the |