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

Unified Diff: Source/platform/mediastream/MediaStreamDescriptor.cpp

Issue 827673002: Add MediaStream.active attribute (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase Created 5 years, 11 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
« no previous file with comments | « Source/platform/mediastream/MediaStreamDescriptor.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/mediastream/MediaStreamDescriptor.cpp
diff --git a/Source/platform/mediastream/MediaStreamDescriptor.cpp b/Source/platform/mediastream/MediaStreamDescriptor.cpp
index 00cd60bcf270e12a73c8666957327ec762c8978e..3e7e71b7d0e26950867ea632d51cdce210055476 100644
--- a/Source/platform/mediastream/MediaStreamDescriptor.cpp
+++ b/Source/platform/mediastream/MediaStreamDescriptor.cpp
@@ -102,6 +102,7 @@ void MediaStreamDescriptor::removeRemoteTrack(MediaStreamComponent* component)
MediaStreamDescriptor::MediaStreamDescriptor(const String& id, const MediaStreamSourceVector& audioSources, const MediaStreamSourceVector& videoSources)
: m_client(0)
, m_id(id)
+ , m_active(true)
, m_ended(false)
{
ASSERT(m_id.length());
@@ -115,6 +116,7 @@ MediaStreamDescriptor::MediaStreamDescriptor(const String& id, const MediaStream
MediaStreamDescriptor::MediaStreamDescriptor(const String& id, const MediaStreamComponentVector& audioComponents, const MediaStreamComponentVector& videoComponents)
: m_client(0)
, m_id(id)
+ , m_active(true)
, m_ended(false)
{
ASSERT(m_id.length());
« no previous file with comments | « Source/platform/mediastream/MediaStreamDescriptor.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698