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

Unified Diff: ui/gfx/screen_win.cc

Issue 1543183002: Switch to standard integer types in ui/gfx/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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/screen_win.h ('k') | ui/gfx/screen_win_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/screen_win.cc
diff --git a/ui/gfx/screen_win.cc b/ui/gfx/screen_win.cc
index 2768ce731857427ffa993066be659c6c890bbfb5..3199f7acaacdd2b15c3dca37d09014dc418c2d00 100644
--- a/ui/gfx/screen_win.cc
+++ b/ui/gfx/screen_win.cc
@@ -5,6 +5,7 @@
#include "ui/gfx/screen_win.h"
#include <windows.h>
+#include <stdint.h>
#include "base/bind.h"
#include "base/bind_helpers.h"
@@ -26,8 +27,8 @@ MONITORINFOEX GetMonitorInfoForMonitor(HMONITOR monitor) {
}
gfx::Display GetDisplay(const MONITORINFOEX& monitor_info) {
- int64 id = static_cast<int64>(
- base::Hash(base::WideToUTF8(monitor_info.szDevice)));
+ int64_t id =
+ static_cast<int64_t>(base::Hash(base::WideToUTF8(monitor_info.szDevice)));
gfx::Rect bounds = gfx::Rect(monitor_info.rcMonitor);
gfx::Display display(id);
display.set_bounds(gfx::win::ScreenToDIPRect(bounds));
« no previous file with comments | « ui/gfx/screen_win.h ('k') | ui/gfx/screen_win_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698