| 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 3ff9b00212db0a302def6fefa3b2417e5e2545d2..1323487c6a67710df3b4970df753ec62999d6ff8 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)
|
|
|