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

Unified Diff: trunk/src/content/renderer/media/media_stream_audio_processor.cc

Issue 318383002: Revert 275781 "Revert 273044 "Change kEnableAudioTrackProcessing..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 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: trunk/src/content/renderer/media/media_stream_audio_processor.cc
===================================================================
--- trunk/src/content/renderer/media/media_stream_audio_processor.cc (revision 275781)
+++ trunk/src/content/renderer/media/media_stream_audio_processor.cc (working copy)
@@ -6,7 +6,6 @@
#include "base/command_line.h"
#include "base/debug/trace_event.h"
-#include "base/metrics/field_trial.h"
#include "base/metrics/histogram.h"
#include "content/public/common/content_switches.h"
#include "content/renderer/media/media_stream_audio_processor_options.h"
@@ -163,10 +162,8 @@
};
bool MediaStreamAudioProcessor::IsAudioTrackProcessingEnabled() {
- const std::string group_name =
- base::FieldTrialList::FindFullName("MediaStreamAudioTrackProcessing");
- return group_name == "Enabled" || CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kEnableAudioTrackProcessing);
+ return !CommandLine::ForCurrentProcess()->HasSwitch(
+ switches::kDisableAudioTrackProcessing);
}
MediaStreamAudioProcessor::MediaStreamAudioProcessor(

Powered by Google App Engine
This is Rietveld 408576698