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

Unified Diff: media/base/time_delta_interpolator.cc

Issue 1534273002: Switch to standard integer types in media/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more 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
Index: media/base/time_delta_interpolator.cc
diff --git a/media/base/time_delta_interpolator.cc b/media/base/time_delta_interpolator.cc
index b65bdbc5fedc29c232e33d79a0bedb112a032768..a361b357469743599204eeaa087f2426c2f9610f 100644
--- a/media/base/time_delta_interpolator.cc
+++ b/media/base/time_delta_interpolator.cc
@@ -65,8 +65,8 @@ base::TimeDelta TimeDeltaInterpolator::GetInterpolatedTime() {
if (!interpolating_)
return lower_bound_;
- int64 now_us = (tick_clock_->NowTicks() - reference_).InMicroseconds();
- now_us = static_cast<int64>(now_us * playback_rate_);
+ int64_t now_us = (tick_clock_->NowTicks() - reference_).InMicroseconds();
+ now_us = static_cast<int64_t>(now_us * playback_rate_);
base::TimeDelta interpolated_time =
lower_bound_ + base::TimeDelta::FromMicroseconds(now_us);

Powered by Google App Engine
This is Rietveld 408576698