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

Unified Diff: remoting/host/screen_resolution_unittest.cc

Issue 1547473005: Switch to standard integer types in remoting/host/. (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 | « remoting/host/screen_resolution.cc ('k') | remoting/host/server_log_entry_host_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/screen_resolution_unittest.cc
diff --git a/remoting/host/screen_resolution_unittest.cc b/remoting/host/screen_resolution_unittest.cc
index 01de134b9690f6a006afd7214e079f7ed253b8d6..0b6686564cdd6e109b8dca04cf6eba7ff33c5ef5 100644
--- a/remoting/host/screen_resolution_unittest.cc
+++ b/remoting/host/screen_resolution_unittest.cc
@@ -4,6 +4,8 @@
#include "remoting/host/screen_resolution.h"
+#include <stdint.h>
+
#include <limits>
#include "testing/gmock/include/gmock/gmock.h"
@@ -40,7 +42,7 @@ TEST(ScreenResolutionTest, ScalingSaturation) {
ScreenResolution resolution(
webrtc::DesktopSize(10000000, 1000000), webrtc::DesktopVector(1, 1));
- int32 max_int = std::numeric_limits<int32>::max();
+ int32_t max_int = std::numeric_limits<int32_t>::max();
EXPECT_TRUE(webrtc::DesktopSize(max_int, max_int).equals(
resolution.ScaleDimensionsToDpi(
webrtc::DesktopVector(1000000, 1000000))));
« no previous file with comments | « remoting/host/screen_resolution.cc ('k') | remoting/host/server_log_entry_host_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698