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

Unified Diff: ash/rotator/screen_rotation_animator.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/rotator/screen_rotation_animator.h ('k') | ash/rotator/window_rotation.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/rotator/screen_rotation_animator.cc
diff --git a/ash/rotator/screen_rotation_animator.cc b/ash/rotator/screen_rotation_animator.cc
index fc7c651632139ef94a49edbce2156bfccfd98499..8996855d3666ae0d168878a4c5739d7981729ad9 100644
--- a/ash/rotator/screen_rotation_animator.cc
+++ b/ash/rotator/screen_rotation_animator.cc
@@ -42,7 +42,7 @@ const int kRotationDurationInMs = 250;
// Gets the current display rotation for the display with the specified
// |display_id|.
-gfx::Display::Rotation GetCurrentRotation(int64 display_id) {
+gfx::Display::Rotation GetCurrentRotation(int64_t display_id) {
return Shell::GetInstance()
->display_manager()
->GetDisplayInfo(display_id)
@@ -145,7 +145,7 @@ void LayerCleanupObserver::AbortAnimations(ui::Layer* layer) {
// layer towards the new orientation through |rotation_degrees| while fading
// out, and the new orientation's layer will be rotated in to the
// |new_orientation| through |rotation_degrees| arc.
-void RotateScreen(int64 display_id,
+void RotateScreen(int64_t display_id,
gfx::Display::Rotation new_rotation,
gfx::Display::RotationSource source) {
aura::Window* root_window = Shell::GetInstance()
@@ -243,9 +243,8 @@ void RotateScreen(int64 display_id,
} // namespace
-ScreenRotationAnimator::ScreenRotationAnimator(int64 display_id)
- : display_id_(display_id) {
-}
+ScreenRotationAnimator::ScreenRotationAnimator(int64_t display_id)
+ : display_id_(display_id) {}
ScreenRotationAnimator::~ScreenRotationAnimator() {
}
« no previous file with comments | « ash/rotator/screen_rotation_animator.h ('k') | ash/rotator/window_rotation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698