Commit a3f03b6d authored by Armando Miraglia's avatar Armando Miraglia Committed by Commit Bot

[getUserMedia] Address old comments by folding initialization.

Same as crrev.com/c/1373817, as I forgot to remove this one too in the
previous CL since I did not catch it.

BUG=736309
TESTED=ninja -C out/Default/ content_unittests && ./out/Default/content_unittests

Change-Id: I2d645cfcf65640b7a4a4623976be5642d32d30d2
Reviewed-on: https://chromium-review.googlesource.com/c/1373824Reviewed-by: default avatarGuido Urdaneta <guidou@chromium.org>
Commit-Queue: Armando Miraglia <armax@chromium.org>
Cr-Commit-Position: refs/heads/master@{#615902}
parent d1b526cb
...@@ -1236,9 +1236,7 @@ TEST_P(MediaStreamConstraintsUtilAudioTest, AdvancedConflictingLastConstraint) { ...@@ -1236,9 +1236,7 @@ TEST_P(MediaStreamConstraintsUtilAudioTest, AdvancedConflictingLastConstraint) {
auto result = SelectSettings(); auto result = SelectSettings();
EXPECT_TRUE(result.HasValue()); EXPECT_TRUE(result.HasValue());
CheckDeviceDefaults(result); CheckDeviceDefaults(result);
// TODO(crbug.com/736309): Fold this local when clang is fixed. CheckBoolDefaults({&AudioCaptureSettings::hotword_enabled},
auto hotword_enabled = &AudioCaptureSettings::hotword_enabled;
CheckBoolDefaults({hotword_enabled},
{&AudioProcessingProperties::goog_audio_mirroring, {&AudioProcessingProperties::goog_audio_mirroring,
&AudioProcessingProperties::goog_highpass_filter}, &AudioProcessingProperties::goog_highpass_filter},
result); result);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment