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

Unified Diff: media/base/audio_converter.cc

Issue 100583002: Revert 196271 "CHECK for adding duplicate converter inputs." (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/audio_converter.cc
diff --git a/media/base/audio_converter.cc b/media/base/audio_converter.cc
index ac82e314ba32d50845cf2c8404a483c4cf398caf..d0c45136dada58fe83069e20d4f8c389b970098f 100644
--- a/media/base/audio_converter.cc
+++ b/media/base/audio_converter.cc
@@ -98,10 +98,8 @@ AudioConverter::AudioConverter(const AudioParameters& input_params,
AudioConverter::~AudioConverter() {}
void AudioConverter::AddInput(InputCallback* input) {
- // TODO(dalecurtis): Speculative CHECK for http://crbug.com/233026, should be
- // converted to a DCHECK once resolved.
- CHECK(std::find(transform_inputs_.begin(), transform_inputs_.end(), input) ==
- transform_inputs_.end());
+ DCHECK(std::find(transform_inputs_.begin(), transform_inputs_.end(), input) ==
+ transform_inputs_.end());
transform_inputs_.push_back(input);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698