| Index: third_party/WebKit/Source/modules/presentation/PresentationConnection.cpp
|
| diff --git a/third_party/WebKit/Source/modules/presentation/PresentationConnection.cpp b/third_party/WebKit/Source/modules/presentation/PresentationConnection.cpp
|
| index a2b2034ecffc69b55bd380c9206d0ed2dd64f9a2..4f4bb2d51ae4fe267ca2f1ec9110299d10d62dbb 100644
|
| --- a/third_party/WebKit/Source/modules/presentation/PresentationConnection.cpp
|
| +++ b/third_party/WebKit/Source/modules/presentation/PresentationConnection.cpp
|
| @@ -162,8 +162,6 @@ PresentationConnection::~PresentationConnection() {
|
| void PresentationConnection::bindProxy(
|
| std::unique_ptr<WebPresentationConnectionProxy> proxy) {
|
| DCHECK(proxy);
|
| - // TODO(zhaobin): Restore to DCHECK(!m_proxy) when reconnect() is properly
|
| - // implemented.
|
| m_proxy = std::move(proxy);
|
| }
|
|
|
| @@ -401,7 +399,7 @@ void PresentationConnection::close() {
|
| }
|
| WebPresentationClient* client = presentationClient(getExecutionContext());
|
| if (client)
|
| - client->closeSession(m_url, m_id);
|
| + client->closeSession(m_url, m_id, m_proxy.get());
|
|
|
| tearDown();
|
| }
|
|
|