Delete NullEventFactory
A preparation for deleting EventFactory and EventWrapper, to instead use rtc::Event directly. Bug: webrtc:3380 Change-Id: I4c40daca9268e57b06d506d91e09365091c42ad6 Reviewed-on: https://webrtc-review.googlesource.com/c/109880 Reviewed-by: Philip Eliasson <philipel@webrtc.org> Commit-Queue: Niels Moller <nisse@webrtc.org> Cr-Commit-Position: refs/heads/master@{#25545}
This commit is contained in:
@ -14,7 +14,6 @@
|
||||
#include "api/test/mock_video_decoder.h"
|
||||
#include "modules/video_coding/include/mock/mock_vcm_callbacks.h"
|
||||
#include "modules/video_coding/include/video_coding.h"
|
||||
#include "modules/video_coding/test/test_util.h"
|
||||
#include "modules/video_coding/timing.h"
|
||||
#include "modules/video_coding/video_coding_impl.h"
|
||||
#include "system_wrappers/include/clock.h"
|
||||
@ -37,7 +36,7 @@ class TestVideoReceiver : public ::testing::Test {
|
||||
|
||||
virtual void SetUp() {
|
||||
timing_.reset(new VCMTiming(&clock_));
|
||||
receiver_.reset(new VideoReceiver(&clock_, &event_factory_, timing_.get()));
|
||||
receiver_.reset(new VideoReceiver(&clock_, nullptr, timing_.get()));
|
||||
receiver_->RegisterExternalDecoder(&decoder_, kUnusedPayloadType);
|
||||
const size_t kMaxNackListSize = 250;
|
||||
const int kMaxPacketAgeToNack = 450;
|
||||
@ -81,7 +80,6 @@ class TestVideoReceiver : public ::testing::Test {
|
||||
}
|
||||
|
||||
SimulatedClock clock_;
|
||||
NullEventFactory event_factory_;
|
||||
VideoCodec settings_;
|
||||
NiceMock<MockVideoDecoder> decoder_;
|
||||
NiceMock<MockPacketRequestCallback> packet_request_callback_;
|
||||
|
Reference in New Issue
Block a user