| Index: third_party/WebKit/Source/modules/mediarecorder/MediaRecorder.idl
|
| diff --git a/third_party/WebKit/Source/modules/mediarecorder/MediaRecorder.idl b/third_party/WebKit/Source/modules/mediarecorder/MediaRecorder.idl
|
| index add92ddccd219e874cec46c3b3b0822eae72f4ee..67c9f6b0f56d712fc45e113a37ebec28b1a408ee 100644
|
| --- a/third_party/WebKit/Source/modules/mediarecorder/MediaRecorder.idl
|
| +++ b/third_party/WebKit/Source/modules/mediarecorder/MediaRecorder.idl
|
| @@ -9,8 +9,7 @@ enum RecordingState { "inactive", "recording", "paused" };
|
| [
|
| GarbageCollected,
|
| ActiveDOMObject,
|
| - // TODO(mcasas): consider changing |mimeType| to a dictionary with said key, see https://github.com/w3c/mediacapture-record/issues/19
|
| - Constructor(MediaStream stream, optional DOMString mimeType),
|
| + Constructor(MediaStream stream, optional MediaRecorderOptions options),
|
| ConstructorCallWith=ExecutionContext,
|
| RaisesException=Constructor,
|
| RuntimeEnabled=MediaRecorder,
|
| @@ -33,5 +32,5 @@ enum RecordingState { "inactive", "recording", "paused" };
|
| [RaisesException] void resume();
|
| [RaisesException] void requestData();
|
|
|
| - static DOMString canRecordMimeType(DOMString mimeType);
|
| + static boolean isTypeSupported(DOMString type);
|
| };
|
|
|