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

Unified Diff: ash/display/mirror_window_controller_unittest.cc

Issue 1540753002: Switch to standard integer types in ash/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: arraysize 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 | « ash/display/mirror_window_controller.cc ('k') | ash/display/mouse_cursor_event_filter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/display/mirror_window_controller_unittest.cc
diff --git a/ash/display/mirror_window_controller_unittest.cc b/ash/display/mirror_window_controller_unittest.cc
index 5c2fb01b843555ff43097e56a68c4dbfeb5ce291..f118d24303a72dd693d725a8d932c63fd90340e9 100644
--- a/ash/display/mirror_window_controller_unittest.cc
+++ b/ash/display/mirror_window_controller_unittest.cc
@@ -26,7 +26,7 @@
namespace ash {
namespace {
-DisplayInfo CreateDisplayInfo(int64 id, const gfx::Rect& bounds) {
+DisplayInfo CreateDisplayInfo(int64_t id, const gfx::Rect& bounds) {
DisplayInfo info(id, base::StringPrintf("x-%d", static_cast<int>(id)), false);
info.SetBounds(bounds);
return info;
@@ -221,8 +221,8 @@ TEST_F(MirrorWindowControllerTest, MAYBE_MirrorCursorMoveOnEnter) {
shell->window_tree_host_manager();
UpdateDisplay("400x400*2/r,400x400");
- int64 primary_display_id = window_tree_host_manager->GetPrimaryDisplayId();
- int64 secondary_display_id = ScreenUtil::GetSecondaryDisplay().id();
+ int64_t primary_display_id = window_tree_host_manager->GetPrimaryDisplayId();
+ int64_t secondary_display_id = ScreenUtil::GetSecondaryDisplay().id();
test::ScopedSetInternalDisplayId set_internal(primary_display_id);
// Chrome uses the internal display as the source display for software mirror
@@ -261,8 +261,8 @@ TEST_F(MirrorWindowControllerTest, MAYBE_MirrorCursorMoveOnEnter) {
// from/to dock mode.
TEST_F(MirrorWindowControllerTest, MAYBE_DockMode) {
DisplayManager* display_manager = Shell::GetInstance()->display_manager();
- const int64 internal_id = 1;
- const int64 external_id = 2;
+ const int64_t internal_id = 1;
+ const int64_t external_id = 2;
const DisplayInfo internal_display_info =
CreateDisplayInfo(internal_id, gfx::Rect(0, 0, 500, 500));
@@ -276,7 +276,7 @@ TEST_F(MirrorWindowControllerTest, MAYBE_DockMode) {
display_info_list.push_back(internal_display_info);
display_info_list.push_back(external_display_info);
display_manager->OnNativeDisplaysChanged(display_info_list);
- const int64 internal_display_id =
+ const int64_t internal_display_id =
test::DisplayManagerTestApi().SetFirstDisplayAsInternalDisplay();
EXPECT_EQ(internal_id, internal_display_id);
« no previous file with comments | « ash/display/mirror_window_controller.cc ('k') | ash/display/mouse_cursor_event_filter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698