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

Unified Diff: Source/modules/mediastream/MediaStreamTrack.cpp

Issue 16753003: Revert "Remove MediaStreamDescriptor and call/use WebMediaStream directly" (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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
« no previous file with comments | « Source/modules/mediastream/MediaStreamTrack.h ('k') | Source/modules/mediastream/RTCDTMFSender.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/mediastream/MediaStreamTrack.cpp
diff --git a/Source/modules/mediastream/MediaStreamTrack.cpp b/Source/modules/mediastream/MediaStreamTrack.cpp
index 96b2b5e443d3d891e52eae6ee9f3c5ff2ba8a3fe..fe6ceafc8095ff6050c78c78de8e9f6de86cda92 100644
--- a/Source/modules/mediastream/MediaStreamTrack.cpp
+++ b/Source/modules/mediastream/MediaStreamTrack.cpp
@@ -28,7 +28,6 @@
#include "core/dom/Event.h"
#include "core/dom/ScriptExecutionContext.h"
-#include "core/platform/chromium/support/WebMediaStreamClient.h"
#include "core/platform/mediastream/MediaStreamCenter.h"
#include "core/platform/mediastream/MediaStreamComponent.h"
#include "public/platform/WebSourceInfo.h"
@@ -95,7 +94,7 @@ void MediaStreamTrack::setEnabled(bool enabled)
m_component->setEnabled(enabled);
- if (m_component->stream().ended())
+ if (m_component->stream()->ended())
return;
MediaStreamCenter::instance().didSetMediaStreamTrackEnabled(m_component->stream(), m_component.get());
@@ -161,7 +160,7 @@ void MediaStreamTrack::sourceChangedState()
void MediaStreamTrack::didEndTrack()
{
- WebKit::WebMediaStreamClient* client = m_component->stream().client();
+ MediaStreamDescriptorClient* client = m_component->stream()->client();
if (!client)
return;
« no previous file with comments | « Source/modules/mediastream/MediaStreamTrack.h ('k') | Source/modules/mediastream/RTCDTMFSender.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698