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 8de73c9597708d1eab3610dcf2aebe3f174800d2..b6f1391467e6a29e960c640dbba4f498b2293b13 100644 |
--- a/third_party/WebKit/Source/modules/presentation/PresentationConnection.cpp |
+++ b/third_party/WebKit/Source/modules/presentation/PresentationConnection.cpp |
@@ -163,8 +163,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); |
} |
@@ -402,7 +400,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(); |
} |