| Index: chrome/renderer/media/cast_rtp_stream.cc
|
| diff --git a/chrome/renderer/media/cast_rtp_stream.cc b/chrome/renderer/media/cast_rtp_stream.cc
|
| index f2297c99e0b69bb5d82d6963d68d2be84ffca098..7906141f6910416bc66510f4c56434c742548cef 100644
|
| --- a/chrome/renderer/media/cast_rtp_stream.cc
|
| +++ b/chrome/renderer/media/cast_rtp_stream.cc
|
| @@ -215,18 +215,18 @@ class CastVideoSink : public base::SupportsWeakPtr<CastVideoSink>,
|
| // capture and delivery here for the first frame. We do not account
|
| // for this delay.
|
| if (first_frame_timestamp_.is_null())
|
| - first_frame_timestamp_ = base::TimeTicks::Now() - frame->GetTimestamp();;
|
| + first_frame_timestamp_ = base::TimeTicks::Now() - frame->timestamp();
|
|
|
| // Used by chrome/browser/extension/api/cast_streaming/performance_test.cc
|
| TRACE_EVENT_INSTANT2(
|
| "mirroring", "MediaStreamVideoSink::OnVideoFrame",
|
| TRACE_EVENT_SCOPE_THREAD,
|
| "timestamp",
|
| - (first_frame_timestamp_ + frame->GetTimestamp()).ToInternalValue(),
|
| - "time_delta", frame->GetTimestamp().ToInternalValue());
|
| + (first_frame_timestamp_ + frame->timestamp()).ToInternalValue(),
|
| + "time_delta", frame->timestamp().ToInternalValue());
|
|
|
| frame_input_->InsertRawVideoFrame(
|
| - frame, first_frame_timestamp_ + frame->GetTimestamp());
|
| + frame, first_frame_timestamp_ + frame->timestamp());
|
| }
|
|
|
| // Attach this sink to a video track represented by |track_|.
|
|
|