| 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,
|
|
|