| 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 361422438fff38979350668503479c75aecd251a..d5c698d718f625a7e434252f4422c958cdbc3016 100644
|
| --- a/third_party/WebKit/Source/modules/presentation/PresentationRequest.cpp
|
| +++ b/third_party/WebKit/Source/modules/presentation/PresentationRequest.cpp
|
| @@ -152,7 +152,7 @@ ScriptPromise PresentationRequest::start(ScriptState* scriptState) {
|
| "The PresentationRequest is no longer associated to a frame."));
|
|
|
| ScriptPromiseResolver* resolver = ScriptPromiseResolver::create(scriptState);
|
| - client->startSession(
|
| + client->startPresentation(
|
| m_urls, WTF::makeUnique<PresentationConnectionCallbacks>(resolver, this));
|
| return resolver->promise();
|
| }
|
| @@ -179,11 +179,12 @@ ScriptPromise PresentationRequest::reconnect(ScriptState* scriptState,
|
| PresentationConnection* existingConnection =
|
| controller->findExistingConnection(m_urls, id);
|
| if (existingConnection) {
|
| - client->joinSession(
|
| - m_urls, id, WTF::makeUnique<ExistingPresentationConnectionCallbacks>(
|
| - resolver, existingConnection));
|
| + client->reconnectPresentation(
|
| + m_urls, id,
|
| + WTF::makeUnique<ExistingPresentationConnectionCallbacks>(
|
| + resolver, existingConnection));
|
| } else {
|
| - client->joinSession(
|
| + client->reconnectPresentation(
|
| m_urls, id,
|
| WTF::makeUnique<PresentationConnectionCallbacks>(resolver, this));
|
| }
|
|
|