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:
@ -18,7 +18,6 @@
|
||||
#include "modules/video_coding/packet.h"
|
||||
#include "modules/video_coding/receiver.h"
|
||||
#include "modules/video_coding/test/stream_generator.h"
|
||||
#include "modules/video_coding/test/test_util.h"
|
||||
#include "modules/video_coding/timing.h"
|
||||
#include "rtc_base/checks.h"
|
||||
#include "system_wrappers/include/clock.h"
|
||||
@ -31,7 +30,7 @@ class TestVCMReceiver : public ::testing::Test {
|
||||
TestVCMReceiver()
|
||||
: clock_(new SimulatedClock(0)),
|
||||
timing_(clock_.get()),
|
||||
receiver_(&timing_, clock_.get(), &event_factory_) {
|
||||
receiver_(&timing_, clock_.get(), nullptr) {
|
||||
stream_generator_.reset(
|
||||
new StreamGenerator(0, clock_->TimeInMilliseconds()));
|
||||
}
|
||||
@ -81,7 +80,6 @@ class TestVCMReceiver : public ::testing::Test {
|
||||
|
||||
std::unique_ptr<SimulatedClock> clock_;
|
||||
VCMTiming timing_;
|
||||
NullEventFactory event_factory_;
|
||||
VCMReceiver receiver_;
|
||||
std::unique_ptr<StreamGenerator> stream_generator_;
|
||||
};
|
||||
|
Reference in New Issue
Block a user