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

Unified Diff: ash/mus/screen_mus.cc

Issue 2804523002: Fix mistmached |GetDisplayNearest{Window,View}| param type (Closed)
Patch Set: window Created 3 years, 8 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 | « ash/mus/screen_mus.h ('k') | ash/system/chromeos/rotation/tray_rotation_lock.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/mus/screen_mus.cc
diff --git a/ash/mus/screen_mus.cc b/ash/mus/screen_mus.cc
index f5e696b7ab46d42e58737058a408cf3f5690049e..887494d5f067fb203c6ff8d220afd86cd4ba4b42 100644
--- a/ash/mus/screen_mus.cc
+++ b/ash/mus/screen_mus.cc
@@ -39,7 +39,7 @@ void ScreenMus::SetWorkAreaInsets(aura::Window* window,
}
display::Display ScreenMus::GetDisplayNearestWindow(
- aura::Window* window) const {
+ gfx::NativeWindow window) const {
const aura::WindowTreeHost* host = window->GetHost();
if (!host)
return GetPrimaryDisplay();
« no previous file with comments | « ash/mus/screen_mus.h ('k') | ash/system/chromeos/rotation/tray_rotation_lock.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698