Index: ui/display/win/screen_win.h |
diff --git a/ui/display/win/screen_win.h b/ui/display/win/screen_win.h |
index 5a000d4038521660ae69e53891f2ffc649947812..eed87d9e45f4ef86d7d03452821cd422dea02301 100644 |
--- a/ui/display/win/screen_win.h |
+++ b/ui/display/win/screen_win.h |
@@ -110,7 +110,7 @@ class DISPLAY_EXPORT ScreenWin : public Screen { |
static float GetSystemScaleFactor(); |
// Returns the HWND associated with the NativeView. |
- virtual HWND GetHWNDFromNativeView(gfx::NativeView window) const; |
+ virtual HWND GetHWNDFromNativeView(gfx::NativeView view) const; |
// Returns the NativeView associated with the HWND. |
virtual gfx::NativeWindow GetNativeWindowFromHWND(HWND hwnd) const; |
@@ -122,7 +122,7 @@ class DISPLAY_EXPORT ScreenWin : public Screen { |
gfx::NativeWindow GetWindowAtScreenPoint(const gfx::Point& point) override; |
int GetNumDisplays() const override; |
const std::vector<Display>& GetAllDisplays() const override; |
- Display GetDisplayNearestWindow(gfx::NativeView window) const override; |
+ Display GetDisplayNearestWindow(gfx::NativeWindow window) const override; |
Display GetDisplayNearestPoint(const gfx::Point& point) const override; |
Display GetDisplayMatching(const gfx::Rect& match_rect) const override; |
Display GetPrimaryDisplay() const override; |