Index: webrtc/modules/audio_coding/neteq/neteq_unittest.cc |
diff --git a/webrtc/modules/audio_coding/neteq/neteq_unittest.cc b/webrtc/modules/audio_coding/neteq/neteq_unittest.cc |
index c52f2d6aa5cc996b166866ec32d14d94847cb55e..47073fb945453b1b2f203267eba5310bfcf1d43b 100644 |
--- a/webrtc/modules/audio_coding/neteq/neteq_unittest.cc |
+++ b/webrtc/modules/audio_coding/neteq/neteq_unittest.cc |
@@ -25,6 +25,7 @@ |
#include "webrtc/base/ignore_wundef.h" |
#include "webrtc/base/sha1digest.h" |
#include "webrtc/base/stringencode.h" |
+#include "webrtc/base/protobuf_utils.h" |
#include "webrtc/modules/audio_coding/codecs/pcm16b/pcm16b.h" |
#include "webrtc/modules/audio_coding/neteq/tools/audio_loop.h" |
#include "webrtc/modules/audio_coding/neteq/tools/rtp_file_source.h" |
@@ -194,7 +195,7 @@ void ResultSink::AddResult(const NetEqNetworkStatistics& stats_raw) { |
neteq_unittest::NetEqNetworkStatistics stats; |
Convert(stats_raw, &stats); |
- std::string stats_string; |
+ ProtoString stats_string; |
ASSERT_TRUE(stats.SerializeToString(&stats_string)); |
AddMessage(output_fp_, digest_.get(), stats_string); |
#else |
@@ -207,7 +208,7 @@ void ResultSink::AddResult(const RtcpStatistics& stats_raw) { |
neteq_unittest::RtcpStatistics stats; |
Convert(stats_raw, &stats); |
- std::string stats_string; |
+ ProtoString stats_string; |
ASSERT_TRUE(stats.SerializeToString(&stats_string)); |
AddMessage(output_fp_, digest_.get(), stats_string); |
#else |