| Index: Source/modules/mediastream/MediaStreamTrack.cpp
|
| diff --git a/Source/modules/mediastream/MediaStreamTrack.cpp b/Source/modules/mediastream/MediaStreamTrack.cpp
|
| index e779278929cb5c812d358a9df8954d46963b6f08..a33afaa726abfe2a93b81491709e7dc9a24f7ea9 100644
|
| --- a/Source/modules/mediastream/MediaStreamTrack.cpp
|
| +++ b/Source/modules/mediastream/MediaStreamTrack.cpp
|
| @@ -121,20 +121,20 @@ String MediaStreamTrack::readyState() const
|
| return String();
|
| }
|
|
|
| -void MediaStreamTrack::getSources(ExecutionContext* context, PassRefPtr<MediaStreamTrackSourcesCallback> callback, ExceptionState& es)
|
| +void MediaStreamTrack::getSources(ExecutionContext* context, PassRefPtr<MediaStreamTrackSourcesCallback> callback, ExceptionState& exceptionState)
|
| {
|
| RefPtr<MediaStreamTrackSourcesRequest> request = MediaStreamTrackSourcesRequest::create(context, callback);
|
| if (!MediaStreamCenter::instance().getMediaStreamTrackSources(request.release()))
|
| - es.throwDOMException(NotSupportedError, ExceptionMessages::failedToExecute("getSources", "MediaStreamTrack", "Functionality not implemented yet"));
|
| + exceptionState.throwDOMException(NotSupportedError, ExceptionMessages::failedToExecute("getSources", "MediaStreamTrack", "Functionality not implemented yet"));
|
| }
|
|
|
| -void MediaStreamTrack::stopTrack(ExceptionState& es)
|
| +void MediaStreamTrack::stopTrack(ExceptionState& exceptionState)
|
| {
|
| if (ended())
|
| return;
|
|
|
| if (!MediaStreamCenter::instance().didStopMediaStreamTrack(component()))
|
| - es.throwDOMException(NotSupportedError, ExceptionMessages::failedToExecute("stop", "MediaStreamTrack", "Functionality not implemented yet"));
|
| + exceptionState.throwDOMException(NotSupportedError, ExceptionMessages::failedToExecute("stop", "MediaStreamTrack", "Functionality not implemented yet"));
|
| }
|
|
|
| bool MediaStreamTrack::ended() const
|
|
|