Index: talk/app/webrtc/test/fakeaudiocapturemodule_unittest.cc |
diff --git a/talk/app/webrtc/test/fakeaudiocapturemodule_unittest.cc b/talk/app/webrtc/test/fakeaudiocapturemodule_unittest.cc |
index 8fcbfd701237198262449d42fe5b6caf2bd58750..821b44caa4f42b4367ff4d95e1473d19a74f8238 100644 |
--- a/talk/app/webrtc/test/fakeaudiocapturemodule_unittest.cc |
+++ b/talk/app/webrtc/test/fakeaudiocapturemodule_unittest.cc |
@@ -66,7 +66,7 @@ class FakeAdmTest : public testing::Test, |
const bool keyPressed, |
uint32_t& newMicLevel) { |
rec_buffer_bytes_ = nSamples * nBytesPerSample; |
- if ((rec_buffer_bytes_ <= 0) || |
+ if ((rec_buffer_bytes_ == 0) || |
(rec_buffer_bytes_ > FakeAudioCaptureModule::kNumberSamples * |
FakeAudioCaptureModule::kNumberBytesPerSample)) { |
ADD_FAILURE(); |