Index: webrtc/modules/audio_coding/neteq/decision_logic_unittest.cc |
diff --git a/webrtc/modules/audio_coding/neteq/decision_logic_unittest.cc b/webrtc/modules/audio_coding/neteq/decision_logic_unittest.cc |
index ebb366890b38ba8796ffd5e995686e98de6b9e22..c42ac4422ff36ec48dd084d93edcc997ebd3ff67 100644 |
--- a/webrtc/modules/audio_coding/neteq/decision_logic_unittest.cc |
+++ b/webrtc/modules/audio_coding/neteq/decision_logic_unittest.cc |
@@ -26,7 +26,7 @@ TEST(DecisionLogic, CreateAndDestroy) { |
int fs_hz = 8000; |
int output_size_samples = fs_hz / 100; // Samples per 10 ms. |
DecoderDatabase decoder_database( |
- std::unique_ptr<MockAudioDecoderFactory>(new MockAudioDecoderFactory)); |
+ new rtc::RefCountedObject<MockAudioDecoderFactory>); |
TickTimer tick_timer; |
PacketBuffer packet_buffer(10, &tick_timer); |
DelayPeakDetector delay_peak_detector(&tick_timer); |