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

Unified Diff: chrome/browser/ui/window_sizer/window_sizer.cc

Issue 1608733002: Remove ui/gfx/screen_type_delegate.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@metro-mode-4
Patch Set: GetNativeScreen 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: chrome/browser/ui/window_sizer/window_sizer.cc
diff --git a/chrome/browser/ui/window_sizer/window_sizer.cc b/chrome/browser/ui/window_sizer/window_sizer.cc
index 051b162fb58335722f99803f70374ec076aeda1a..d731a96eab85624cc1d12bd1b4f8068c9c9c284e 100644
--- a/chrome/browser/ui/window_sizer/window_sizer.cc
+++ b/chrome/browser/ui/window_sizer/window_sizer.cc
@@ -197,8 +197,7 @@ WindowSizer::WindowSizer(
const Browser* browser)
: state_provider_(std::move(state_provider)),
target_display_provider_(std::move(target_display_provider)),
- // TODO(scottmg): NativeScreen is wrong. http://crbug.com/133312
- screen_(gfx::Screen::GetNativeScreen()),
+ screen_(gfx::Screen::GetScreen()),
browser_(browser) {}
WindowSizer::WindowSizer(

Powered by Google App Engine
This is Rietveld 408576698