Index: webrtc/modules/audio_processing/aec/system_delay_unittest.cc |
diff --git a/webrtc/modules/audio_processing/aec/system_delay_unittest.cc b/webrtc/modules/audio_processing/aec/system_delay_unittest.cc |
index da28752bcc433d2f3fdd40c7a204e616e650f189..42800c50a394aa5970f72b9a3425d1351dc7bf5f 100644 |
--- a/webrtc/modules/audio_processing/aec/system_delay_unittest.cc |
+++ b/webrtc/modules/audio_processing/aec/system_delay_unittest.cc |
@@ -9,6 +9,7 @@ |
*/ |
#include "testing/gtest/include/gtest/gtest.h" |
+#include "webrtc/base/checks.h" |
extern "C" { |
#include "webrtc/modules/audio_processing/aec/aec_core.h" |
} |
@@ -67,7 +68,8 @@ SystemDelayTest::SystemDelayTest() |
} |
void SystemDelayTest::SetUp() { |
- ASSERT_EQ(0, WebRtcAec_Create(&handle_)); |
+ handle_ = WebRtcAec_Create(); |
+ ASSERT_TRUE(handle_); |
self_ = reinterpret_cast<Aec*>(handle_); |
} |