Fixing an error in DebugDumpTest.

A recent change in DebugDumpTest introduced an error

https://codereview.webrtc.org/1810463002/

The file was not fully scanned.

This CL fixes it.

BUG=

Review URL: https://codereview.webrtc.org/1864453002

Cr-Commit-Position: refs/heads/master@{#12236}
This commit is contained in:
minyue 2016-04-05 04:39:15 -07:00 committed by Commit bot
parent 47f33cb28f
commit 9705bb81d6

View File

@ -241,7 +241,7 @@ class DebugDumpTest : public ::testing::Test {
void DebugDumpTest::VerifyDebugDump(const std::string& in_filename) {
ASSERT_TRUE(debug_dump_replayer_.SetDumpFile(in_filename));
if (const rtc::Optional<audioproc::Event> event =
while (const rtc::Optional<audioproc::Event> event =
debug_dump_replayer_.GetNextEvent()) {
debug_dump_replayer_.RunNextEvent();
if (event->type() == audioproc::Event::STREAM) {