Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(659)

Unified Diff: third_party/WebKit/Source/platform/exported/WebRTCOfferOptions.cpp

Issue 2064593003: Support legacy offerToReceiveAudio/offerToReceiveVideo fields in RTCOfferAnswerOptions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: haraken's comments Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/platform/exported/WebRTCOfferOptions.cpp
diff --git a/third_party/WebKit/Source/platform/exported/WebRTCOfferOptions.cpp b/third_party/WebKit/Source/platform/exported/WebRTCOfferOptions.cpp
index e3340182fdd796b40793b67b5259bc916eab0544..db3681ae4613415ea8c8f611f584472898240a71 100644
--- a/third_party/WebKit/Source/platform/exported/WebRTCOfferOptions.cpp
+++ b/third_party/WebKit/Source/platform/exported/WebRTCOfferOptions.cpp
@@ -5,6 +5,7 @@
#include "public/platform/WebRTCOfferOptions.h"
#include "platform/mediastream/RTCOfferOptionsPlatform.h"
+#include "wtf/Assertions.h"
namespace blink {
@@ -32,25 +33,25 @@ void WebRTCOfferOptions::reset()
int32_t WebRTCOfferOptions::offerToReceiveVideo() const
{
- ASSERT(!isNull());
+ DCHECK(!isNull());
return m_private->offerToReceiveVideo();
}
int32_t WebRTCOfferOptions::offerToReceiveAudio() const
{
- ASSERT(!isNull());
+ DCHECK(!isNull());
return m_private->offerToReceiveAudio();
}
bool WebRTCOfferOptions::voiceActivityDetection() const
{
- ASSERT(!isNull());
+ DCHECK(!isNull());
return m_private->voiceActivityDetection();
}
bool WebRTCOfferOptions::iceRestart() const
{
- ASSERT(!isNull());
+ DCHECK(!isNull());
return m_private->iceRestart();
}

Powered by Google App Engine
This is Rietveld 408576698