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

Unified Diff: media/cast/common/clock_drift_smoother.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/cast/common/clock_drift_smoother.cc
diff --git a/media/cast/common/clock_drift_smoother.cc b/media/cast/common/clock_drift_smoother.cc
index df3ffdb77c5b7617f089f921d0e89dd325f828d3..01b7d06a4d3d52ce6eff18046eef85844eafb1b4 100644
--- a/media/cast/common/clock_drift_smoother.cc
+++ b/media/cast/common/clock_drift_smoother.cc
@@ -19,8 +19,8 @@ ClockDriftSmoother::~ClockDriftSmoother() {}
base::TimeDelta ClockDriftSmoother::Current() const {
DCHECK(!last_update_time_.is_null());
- return base::TimeDelta::FromMicroseconds(
- static_cast<int64>(estimate_us_ + 0.5)); // Round to nearest microsecond.
+ return base::TimeDelta::FromMicroseconds(static_cast<int64_t>(
+ estimate_us_ + 0.5)); // Round to nearest microsecond.
}
void ClockDriftSmoother::Reset(base::TimeTicks now,

Powered by Google App Engine
This is Rietveld 408576698