| Index: webrtc/video/overuse_frame_detector_unittest.cc | 
| diff --git a/webrtc/video/overuse_frame_detector_unittest.cc b/webrtc/video/overuse_frame_detector_unittest.cc | 
| index d6700e248d9a6a252be5d8bb500a476483c75a89..da674cd7c42ca49ad20f6f44c7c388d7be755a7a 100644 | 
| --- a/webrtc/video/overuse_frame_detector_unittest.cc | 
| +++ b/webrtc/video/overuse_frame_detector_unittest.cc | 
| @@ -101,8 +101,8 @@ class OveruseFrameDetectorTest : public ::testing::Test, | 
| int width, | 
| int height, | 
| int delay_ms) { | 
| -    VideoFrame frame; | 
| -    frame.CreateEmptyFrame(width, height, width, width / 2, width / 2); | 
| +    VideoFrame frame(I420Buffer::Create(width, height), | 
| +                     webrtc::kVideoRotation_0, 0); | 
| uint32_t timestamp = 0; | 
| while (num_frames-- > 0) { | 
| frame.set_timestamp(timestamp); | 
| @@ -283,8 +283,8 @@ TEST_F(OveruseFrameDetectorTest, MeasuresMultipleConcurrentSamples) { | 
| EXPECT_CALL(*(observer_.get()), OveruseDetected()).Times(testing::AtLeast(1)); | 
| static const int kIntervalMs = 33; | 
| static const size_t kNumFramesEncodingDelay = 3; | 
| -  VideoFrame frame; | 
| -  frame.CreateEmptyFrame(kWidth, kHeight, kWidth, kWidth / 2, kWidth / 2); | 
| +  VideoFrame frame(I420Buffer::Create(kWidth, kHeight), | 
| +                   webrtc::kVideoRotation_0, 0); | 
| for (size_t i = 0; i < 1000; ++i) { | 
| // Unique timestamps. | 
| frame.set_timestamp(static_cast<uint32_t>(i)); | 
| @@ -304,8 +304,8 @@ TEST_F(OveruseFrameDetectorTest, UpdatesExistingSamples) { | 
| EXPECT_CALL(*(observer_.get()), OveruseDetected()).Times(testing::AtLeast(1)); | 
| static const int kIntervalMs = 33; | 
| static const int kDelayMs = 30; | 
| -  VideoFrame frame; | 
| -  frame.CreateEmptyFrame(kWidth, kHeight, kWidth, kWidth / 2, kWidth / 2); | 
| +  VideoFrame frame(I420Buffer::Create(kWidth, kHeight), | 
| +                   webrtc::kVideoRotation_0, 0); | 
| uint32_t timestamp = 0; | 
| for (size_t i = 0; i < 1000; ++i) { | 
| frame.set_timestamp(timestamp); | 
|  |