Index: extensions/shell/browser/shell_desktop_controller_mac.mm |
diff --git a/extensions/shell/browser/shell_desktop_controller_mac.mm b/extensions/shell/browser/shell_desktop_controller_mac.mm |
index 9789787b75c2725d311db22fc05f435b23f6dc36..7731b0a58f8b6aca19bb5302e2fb1cdcbb5bf5fb 100644 |
--- a/extensions/shell/browser/shell_desktop_controller_mac.mm |
+++ b/extensions/shell/browser/shell_desktop_controller_mac.mm |
@@ -26,7 +26,7 @@ ShellDesktopControllerMac::~ShellDesktopControllerMac() { |
gfx::Size ShellDesktopControllerMac::GetWindowSize() { |
// This is the full screen size. |
- return gfx::Screen::GetNativeScreen()->GetPrimaryDisplay().bounds().size(); |
+ return gfx::Screen::GetScreen()->GetPrimaryDisplay().bounds().size(); |
} |
AppWindow* ShellDesktopControllerMac::CreateAppWindow( |