Index: talk/app/webrtc/videosource.cc |
diff --git a/talk/app/webrtc/videosource.cc b/talk/app/webrtc/videosource.cc |
index bed1be94dbb27559789d141eecf0e120c8b2f40e..7331e0e7a45a54d8e34ca3a3876341382d5cfe99 100644 |
--- a/talk/app/webrtc/videosource.cc |
+++ b/talk/app/webrtc/videosource.cc |
@@ -268,11 +268,11 @@ const cricket::VideoFormat& GetBestCaptureFormat( |
// Return false if the key is mandatory, and the value is invalid. |
bool ExtractOption(const MediaConstraintsInterface* all_constraints, |
const std::string& key, |
- rtc::Maybe<bool>* option) { |
+ rtc::Optional<bool>* option) { |
size_t mandatory = 0; |
bool value; |
if (FindConstraint(all_constraints, key, &value, &mandatory)) { |
- *option = rtc::Maybe<bool>(value); |
+ *option = rtc::Optional<bool>(value); |
return true; |
} |