| Index: third_party/WebKit/Source/modules/remoteplayback/RemotePlayback.cpp
|
| diff --git a/third_party/WebKit/Source/modules/remoteplayback/RemotePlayback.cpp b/third_party/WebKit/Source/modules/remoteplayback/RemotePlayback.cpp
|
| index e65532efe73dca0c14389705b5b0f06329ca81b8..bfa460c37c071dbf41987e1334f417dd5d488b1e 100644
|
| --- a/third_party/WebKit/Source/modules/remoteplayback/RemotePlayback.cpp
|
| +++ b/third_party/WebKit/Source/modules/remoteplayback/RemotePlayback.cpp
|
| @@ -101,7 +101,7 @@ ScriptPromise RemotePlayback::connect(ScriptState* scriptState)
|
|
|
| // TODO(avayvod): should we have a separate flag to disable the user gesture
|
| // requirement (for tests) or reuse the one for the PresentationRequest::start()?
|
| - if (!UserGestureIndicator::processingUserGesture()) {
|
| + if (!UserGestureIndicator::utilizeUserGesture()) {
|
| resolver->reject(DOMException::create(InvalidAccessError, "RemotePlayback::connect() requires user gesture."));
|
| return promise;
|
| }
|
|
|