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

Unified Diff: extensions/shell/browser/shell_desktop_controller_mac.mm

Issue 1608733002: Remove ui/gfx/screen_type_delegate.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@metro-mode-4
Patch Set: and another rebase 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: 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(
« no previous file with comments | « extensions/shell/browser/shell_desktop_controller_aura.cc ('k') | media/capture/video/linux/video_capture_device_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698