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

Unified Diff: ui/views/widget/monitor_win.cc

Issue 137353002: Remove GetMonitorInfoWrapper, which is no longer needed. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge Created 6 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
« no previous file with comments | « ui/gfx/win/hwnd_util.cc ('k') | ui/views/win/fullscreen_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/widget/monitor_win.cc
diff --git a/ui/views/widget/monitor_win.cc b/ui/views/widget/monitor_win.cc
index 1292692d9f35d8c68184b5d0d4e978f51b0c6ee8..2c6d83044713e0ebda88b2143faf867338b8d53c 100644
--- a/ui/views/widget/monitor_win.cc
+++ b/ui/views/widget/monitor_win.cc
@@ -18,7 +18,7 @@ gfx::Rect GetMonitorBoundsForRect(const gfx::Rect& rect) {
if (monitor) {
MONITORINFO mi = {0};
mi.cbSize = sizeof(mi);
- base::win::GetMonitorInfoWrapper(monitor, &mi);
+ GetMonitorInfo(monitor, &mi);
return gfx::Rect(mi.rcWork);
}
NOTREACHED();
« no previous file with comments | « ui/gfx/win/hwnd_util.cc ('k') | ui/views/win/fullscreen_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698