Index: media/base/time_delta_interpolator.cc |
diff --git a/media/base/time_delta_interpolator.cc b/media/base/time_delta_interpolator.cc |
index 11ba1cd0858c190ff392ea08daca7c91a2bbcf7a..acff37e72ebdf9479e8b78cffe4f9b6798b96d55 100644 |
--- a/media/base/time_delta_interpolator.cc |
+++ b/media/base/time_delta_interpolator.cc |
@@ -16,7 +16,7 @@ TimeDeltaInterpolator::TimeDeltaInterpolator(base::TickClock* tick_clock) |
: tick_clock_(tick_clock), |
interpolating_(false), |
upper_bound_(kNoTimestamp()), |
- playback_rate_(1.0f) { |
+ playback_rate_(1.0) { |
DCHECK(tick_clock_); |
} |
@@ -37,7 +37,7 @@ base::TimeDelta TimeDeltaInterpolator::StopInterpolating() { |
return lower_bound_; |
} |
-void TimeDeltaInterpolator::SetPlaybackRate(float playback_rate) { |
+void TimeDeltaInterpolator::SetPlaybackRate(double playback_rate) { |
lower_bound_ = GetInterpolatedTime(); |
reference_ = tick_clock_->NowTicks(); |
playback_rate_ = playback_rate; |