| 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 af82ef6b9fff81117aea36066ee382dcf421e8fc..77ddf822aa43d54b9dc070b55aa2e23867b5fdc8 100644
|
| --- a/third_party/WebKit/Source/modules/mediarecorder/MediaRecorder.cpp
|
| +++ b/third_party/WebKit/Source/modules/mediarecorder/MediaRecorder.cpp
|
| @@ -16,6 +16,7 @@
|
| #include "public/platform/WebMediaStream.h"
|
| #include "wtf/PtrUtil.h"
|
| #include <algorithm>
|
| +#include <limits>
|
|
|
| namespace blink {
|
|
|
| @@ -206,7 +207,7 @@ String MediaRecorder::state() const {
|
| }
|
|
|
| void MediaRecorder::start(ExceptionState& exceptionState) {
|
| - start(0 /* timeSlice */, exceptionState);
|
| + start(std::numeric_limits<int>::max() /* timeSlice */, exceptionState);
|
| }
|
|
|
| void MediaRecorder::start(int timeSlice, ExceptionState& exceptionState) {
|
|
|