| Index: third_party/WebKit/Source/modules/mediarecorder/MediaRecorder.cpp
|
| diff --git a/third_party/WebKit/Source/modules/mediarecorder/MediaRecorder.cpp b/third_party/WebKit/Source/modules/mediarecorder/MediaRecorder.cpp
|
| index a3ca3de080ccad1628373f0f8e50e714835be3f0..02a4f5103649df8235ea3417e8a04e713d95f60b 100644
|
| --- a/third_party/WebKit/Source/modules/mediarecorder/MediaRecorder.cpp
|
| +++ b/third_party/WebKit/Source/modules/mediarecorder/MediaRecorder.cpp
|
| @@ -274,7 +274,7 @@ void MediaRecorder::resume(ExceptionState& exceptionState) {
|
| }
|
|
|
| void MediaRecorder::requestData(ExceptionState& exceptionState) {
|
| - if (m_state != State::Recording) {
|
| + if (m_state == State::Inactive) {
|
| exceptionState.throwDOMException(
|
| InvalidStateError,
|
| "The MediaRecorder's state is '" + stateToString(m_state) + "'.");
|
|
|