diff options
Diffstat (limited to 'test/fake_texture_frame.cc')
-rw-r--r-- | test/fake_texture_frame.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/fake_texture_frame.cc b/test/fake_texture_frame.cc index 4fa5e9d242..3f155184ab 100644 --- a/test/fake_texture_frame.cc +++ b/test/fake_texture_frame.cc @@ -23,7 +23,7 @@ VideoFrame FakeNativeBuffer::CreateFrame(int width, VideoRotation rotation) { return VideoFrame::Builder() .set_video_frame_buffer( - new rtc::RefCountedObject<FakeNativeBuffer>(width, height)) + rtc::make_ref_counted<FakeNativeBuffer>(width, height)) .set_timestamp_rtp(timestamp) .set_timestamp_ms(render_time_ms) .set_rotation(rotation) |