| Index: Source/modules/mediastream/MediaStreamTrack.cpp
|
| diff --git a/Source/modules/mediastream/MediaStreamTrack.cpp b/Source/modules/mediastream/MediaStreamTrack.cpp
|
| index e8695fd7d5e4e5494580819f8cde7da41e2d099e..137cdf54fca2d155ea31e9d4509b49f60405ce0d 100644
|
| --- a/Source/modules/mediastream/MediaStreamTrack.cpp
|
| +++ b/Source/modules/mediastream/MediaStreamTrack.cpp
|
| @@ -26,9 +26,7 @@
|
| #include "config.h"
|
| #include "modules/mediastream/MediaStreamTrack.h"
|
|
|
| -#include "bindings/v8/ExceptionState.h"
|
| #include "core/dom/Event.h"
|
| -#include "core/dom/ExceptionCode.h"
|
| #include "core/dom/ScriptExecutionContext.h"
|
| #include "core/platform/mediastream/MediaStreamCenter.h"
|
| #include "core/platform/mediastream/MediaStreamComponent.h"
|
| @@ -121,12 +119,12 @@ String MediaStreamTrack::readyState() const
|
| return String();
|
| }
|
|
|
| -void MediaStreamTrack::getSources(ScriptExecutionContext* context, PassRefPtr<MediaStreamTrackSourcesCallback> callback, ExceptionState& es)
|
| +void MediaStreamTrack::getSources(ScriptExecutionContext* context, PassRefPtr<MediaStreamTrackSourcesCallback> callback, ExceptionCode& ec)
|
| {
|
| RefPtr<MediaStreamTrackSourcesRequest> request = MediaStreamTrackSourcesRequest::create(context, callback);
|
| bool ok = MediaStreamCenter::instance().getMediaStreamTrackSources(request.release());
|
| if (!ok)
|
| - es.throwDOMException(NotSupportedError);
|
| + ec = NotSupportedError;
|
| }
|
|
|
| bool MediaStreamTrack::ended() const
|
|
|