Index: remoting/host/video_frame_pump.cc |
diff --git a/remoting/host/video_frame_pump.cc b/remoting/host/video_frame_pump.cc |
index 1f11264b786e180eb4e2154a96629600d72a3068..3958a6e3a8c9372eb2eb2fafa6c148fa5130681c 100644 |
--- a/remoting/host/video_frame_pump.cc |
+++ b/remoting/host/video_frame_pump.cc |
@@ -145,8 +145,7 @@ void VideoFramePump::SendEncodedFrame(int64 latest_event_timestamp, |
packet->set_latest_event_timestamp(latest_event_timestamp); |
- capture_scheduler_.OnFrameEncoded( |
- base::TimeDelta::FromMilliseconds(packet->encode_time_ms())); |
+ capture_scheduler_.OnFrameEncoded(packet.get()); |
video_stub_->ProcessVideoPacket(packet.Pass(), |
base::Bind(&VideoFramePump::OnVideoPacketSent, |