| Index: content/renderer/media/video_track_recorder_unittest.cc
|
| diff --git a/content/renderer/media/video_track_recorder_unittest.cc b/content/renderer/media/video_track_recorder_unittest.cc
|
| index 34af5fc79db00fd1436d4fbecb0e564d17aee5c7..f4b320b523729f6f90705c77e27ebe5418db61e5 100644
|
| --- a/content/renderer/media/video_track_recorder_unittest.cc
|
| +++ b/content/renderer/media/video_track_recorder_unittest.cc
|
| @@ -81,7 +81,7 @@ class VideoTrackRecorderTest : public testing::Test,
|
| void Encode(const scoped_refptr<media::VideoFrame>& frame,
|
| base::TimeTicks capture_time) {
|
| EXPECT_TRUE(message_loop_.IsCurrent());
|
| - video_track_recorder_->OnVideoFrame(frame, capture_time);
|
| + video_track_recorder_->OnVideoFrameForTesting(frame, capture_time);
|
| }
|
|
|
| // A ChildProcess and a MessageLoopForUI are both needed to fool the Tracks
|
| @@ -102,6 +102,10 @@ class VideoTrackRecorderTest : public testing::Test,
|
| DISALLOW_COPY_AND_ASSIGN(VideoTrackRecorderTest);
|
| };
|
|
|
| +// Construct and destruct all objects, in particular |video_track_recorder_| and
|
| +// its inner object(s). This is a non trivial sequence.
|
| +TEST_F(VideoTrackRecorderTest, ConstructAndDestruct) {}
|
| +
|
| // Creates the encoder and encodes 2 frames of the same size; the encoder should
|
| // be initialised and produce a keyframe, then a non-keyframe. Finally a frame
|
| // of larger size is sent and is expected to be encoded as a keyframe.
|
|
|