Index: remoting/host/video_frame_pump.cc |
diff --git a/remoting/host/video_frame_pump.cc b/remoting/host/video_frame_pump.cc |
index 6451313af3e560ac0271091dba7b0c00d3307fcc..526615c9215c7dad07d90ed84dcca9f7f42dc080 100644 |
--- a/remoting/host/video_frame_pump.cc |
+++ b/remoting/host/video_frame_pump.cc |
@@ -146,8 +146,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, |