| Index: talk/app/webrtc/localaudiosource.cc
|
| diff --git a/talk/app/webrtc/localaudiosource.cc b/talk/app/webrtc/localaudiosource.cc
|
| index 8b4c25206b606ad6b0ddea0a7b80ef562bdb2a07..591877aa8b6e4c58cfa460164817db699e16d501 100644
|
| --- a/talk/app/webrtc/localaudiosource.cc
|
| +++ b/talk/app/webrtc/localaudiosource.cc
|
| @@ -49,7 +49,7 @@ void FromConstraints(const MediaConstraintsInterface::Constraints& constraints,
|
| // a different algorithm will be required.
|
| struct {
|
| const char* name;
|
| - rtc::Maybe<bool>& value;
|
| + rtc::Optional<bool>& value;
|
| } key_to_value[] = {
|
| {MediaConstraintsInterface::kGoogEchoCancellation,
|
| options->echo_cancellation},
|
| @@ -78,7 +78,7 @@ void FromConstraints(const MediaConstraintsInterface::Constraints& constraints,
|
|
|
| for (auto& entry : key_to_value) {
|
| if (constraint.key.compare(entry.name) == 0)
|
| - entry.value = rtc::Maybe<bool>(value);
|
| + entry.value = rtc::Optional<bool>(value);
|
| }
|
| }
|
| }
|
|
|