| Index: third_party/WebKit/Source/modules/presentation/PresentationRequest.cpp
|
| diff --git a/third_party/WebKit/Source/modules/presentation/PresentationRequest.cpp b/third_party/WebKit/Source/modules/presentation/PresentationRequest.cpp
|
| index 7f2e17eff9db3cb51db76acdeef5446f980eb9fb..7cae36d8a172302244aba9a54ed447a8001f2603 100644
|
| --- a/third_party/WebKit/Source/modules/presentation/PresentationRequest.cpp
|
| +++ b/third_party/WebKit/Source/modules/presentation/PresentationRequest.cpp
|
| @@ -53,9 +53,10 @@ Settings* settings(ExecutionContext* executionContext) {
|
|
|
| ScriptPromise rejectWithSandBoxException(ScriptState* scriptState) {
|
| return ScriptPromise::rejectWithDOMException(
|
| - scriptState, DOMException::create(SecurityError,
|
| - "The document is sandboxed and lacks "
|
| - "the 'allow-presentation' flag."));
|
| + scriptState,
|
| + DOMException::create(SecurityError,
|
| + "The document is sandboxed and lacks "
|
| + "the 'allow-presentation' flag."));
|
| }
|
|
|
| } // anonymous namespace
|
| @@ -180,8 +181,9 @@ ScriptPromise PresentationRequest::reconnect(ScriptState* scriptState,
|
| controller->findExistingConnection(m_urls, id);
|
| if (existingConnection) {
|
| client->joinSession(
|
| - m_urls, id, WTF::makeUnique<ExistingPresentationConnectionCallbacks>(
|
| - resolver, existingConnection));
|
| + m_urls, id,
|
| + WTF::makeUnique<ExistingPresentationConnectionCallbacks>(
|
| + resolver, existingConnection));
|
| } else {
|
| client->joinSession(
|
| m_urls, id,
|
|
|