Index: webrtc/modules/video_coding/main/source/jitter_buffer.cc |
diff --git a/webrtc/modules/video_coding/main/source/jitter_buffer.cc b/webrtc/modules/video_coding/main/source/jitter_buffer.cc |
index da2ca3c1aea22d4de6943375669beeaf64491bdc..9156cc1a61dba45624bda8c73da4886fce71b242 100644 |
--- a/webrtc/modules/video_coding/main/source/jitter_buffer.cc |
+++ b/webrtc/modules/video_coding/main/source/jitter_buffer.cc |
@@ -113,11 +113,12 @@ void FrameList::Reset(UnorderedFrameList* free_frames) { |
} |
} |
-VCMJitterBuffer::VCMJitterBuffer(Clock* clock, EventFactory* event_factory) |
+VCMJitterBuffer::VCMJitterBuffer(Clock* clock, |
+ rtc::scoped_ptr<EventWrapper> event) |
: clock_(clock), |
running_(false), |
crit_sect_(CriticalSectionWrapper::CreateCriticalSection()), |
- frame_event_(event_factory->CreateEvent()), |
+ frame_event_(event.Pass()), |
max_number_of_frames_(kStartNumberOfFrames), |
free_frames_(), |
decodable_frames_(), |