Index: webrtc/modules/video_coding/codecs/vp8/simulcast_encoder_adapter.cc |
diff --git a/webrtc/modules/video_coding/codecs/vp8/simulcast_encoder_adapter.cc b/webrtc/modules/video_coding/codecs/vp8/simulcast_encoder_adapter.cc |
index 280296c7b158be05642e8b395c400fe3c827296e..ee7fd859b5380b5078779e451bc46e27b8eb89dd 100644 |
--- a/webrtc/modules/video_coding/codecs/vp8/simulcast_encoder_adapter.cc |
+++ b/webrtc/modules/video_coding/codecs/vp8/simulcast_encoder_adapter.cc |
@@ -102,10 +102,7 @@ struct ScreenshareTemporalLayersFactory : webrtc::TemporalLayers::Factory { |
virtual webrtc::TemporalLayers* Create(int num_temporal_layers, |
uint8_t initial_tl0_pic_idx) const { |
- return new webrtc::ScreenshareLayers(num_temporal_layers, |
- rand(), |
- &tl0_frame_dropper_, |
- &tl1_frame_dropper_); |
+ return new webrtc::ScreenshareLayers(num_temporal_layers, rand()); |
} |
mutable webrtc::FrameDropper tl0_frame_dropper_; |