| Index: third_party/WebKit/Source/platform/exported/WebRTCAnswerOptions.cpp
|
| diff --git a/third_party/WebKit/Source/platform/exported/WebRTCAnswerOptions.cpp b/third_party/WebKit/Source/platform/exported/WebRTCAnswerOptions.cpp
|
| index 4a1f0aab6348a6a19c1cede5d74cf5f8ad32e9f7..ace44753c43d34c31fa98ff617b1c38e5b4d6744 100644
|
| --- a/third_party/WebKit/Source/platform/exported/WebRTCAnswerOptions.cpp
|
| +++ b/third_party/WebKit/Source/platform/exported/WebRTCAnswerOptions.cpp
|
| @@ -5,6 +5,7 @@
|
| #include "public/platform/WebRTCAnswerOptions.h"
|
|
|
| #include "platform/mediastream/RTCAnswerOptionsPlatform.h"
|
| +#include "wtf/Assertions.h"
|
|
|
| namespace blink {
|
|
|
| @@ -23,9 +24,21 @@ void WebRTCAnswerOptions::reset()
|
| m_private.reset();
|
| }
|
|
|
| +int32_t WebRTCAnswerOptions::offerToReceiveVideo() const
|
| +{
|
| + DCHECK(!isNull());
|
| + return m_private->offerToReceiveVideo();
|
| +}
|
| +
|
| +int32_t WebRTCAnswerOptions::offerToReceiveAudio() const
|
| +{
|
| + DCHECK(!isNull());
|
| + return m_private->offerToReceiveAudio();
|
| +}
|
| +
|
| bool WebRTCAnswerOptions::voiceActivityDetection() const
|
| {
|
| - ASSERT(!m_private.isNull());
|
| + DCHECK(!m_private.isNull());
|
| return m_private->voiceActivityDetection();
|
| }
|
|
|
|
|