| Index: content/renderer/presentation/presentation_connection_proxy.cc
|
| diff --git a/content/renderer/presentation/presentation_connection_proxy.cc b/content/renderer/presentation/presentation_connection_proxy.cc
|
| index aebff14183ac5a7de998df1213d7c7f8da41c179..c4dc82579649722450463e3477e6a700f4f41dc1 100644
|
| --- a/content/renderer/presentation/presentation_connection_proxy.cc
|
| +++ b/content/renderer/presentation/presentation_connection_proxy.cc
|
| @@ -67,8 +67,7 @@ void PresentationConnectionProxy::DidChangeState(
|
| source_connection_->didChangeState(
|
| blink::WebPresentationConnectionState::Connected);
|
| } else if (state == content::PRESENTATION_CONNECTION_STATE_CLOSED) {
|
| - source_connection_->didChangeState(
|
| - blink::WebPresentationConnectionState::Closed);
|
| + source_connection_->didClose();
|
| } else {
|
| NOTREACHED();
|
| }
|
| @@ -76,8 +75,7 @@ void PresentationConnectionProxy::DidChangeState(
|
|
|
| void PresentationConnectionProxy::OnClose() {
|
| DCHECK(target_connection_ptr_);
|
| - source_connection_->didChangeState(
|
| - blink::WebPresentationConnectionState::Closed);
|
| + source_connection_->didClose();
|
| target_connection_ptr_->DidChangeState(
|
| content::PRESENTATION_CONNECTION_STATE_CLOSED);
|
| }
|
|
|