Index: talk/app/webrtc/localaudiosource.cc |
diff --git a/talk/app/webrtc/localaudiosource.cc b/talk/app/webrtc/localaudiosource.cc |
index 63c6f13a3d7baa6a7f10411f30c82be6536dbf98..8b4c25206b606ad6b0ddea0a7b80ef562bdb2a07 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; |
- cricket::Settable<bool>& value; |
+ rtc::Maybe<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.Set(value); |
+ entry.value = rtc::Maybe<bool>(value); |
} |
} |
} |