| Index: third_party/WebKit/Source/modules/presentation/PresentationController.cpp
|
| diff --git a/third_party/WebKit/Source/modules/presentation/PresentationController.cpp b/third_party/WebKit/Source/modules/presentation/PresentationController.cpp
|
| index 50c9ffe11a521744f7d32d63f3a0e44f93e28183..17e036671b072ffc7fbfec90e2efb6dca572277e 100644
|
| --- a/third_party/WebKit/Source/modules/presentation/PresentationController.cpp
|
| +++ b/third_party/WebKit/Source/modules/presentation/PresentationController.cpp
|
| @@ -120,10 +120,12 @@ void PresentationController::setDefaultRequestUrl(const KURL& url)
|
| if (!m_client)
|
| return;
|
|
|
| + // TODO(crbug.com/627655): Accept multiple URLs per PresentationRequest.
|
| + WebVector<WebString> presentationUrls(static_cast<size_t>(1));
|
| if (url.isValid())
|
| - m_client->setDefaultPresentationUrl(url.getString());
|
| - else
|
| - m_client->setDefaultPresentationUrl(blink::WebString());
|
| + presentationUrls[0] = url.getString();
|
| +
|
| + m_client->setDefaultPresentationUrls(presentationUrls);
|
| }
|
|
|
| void PresentationController::registerConnection(PresentationConnection* connection)
|
|
|