Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(827)

Unified Diff: webrtc/modules/audio_processing/aec/system_delay_unittest.cc

Issue 1175903002: audio_processing: Create now returns a pointer to the object (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Addressed review comments Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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_);
}

Powered by Google App Engine
This is Rietveld 408576698