| Index: content/renderer/presentation/presentation_connection_proxy_unittest.cc
|
| diff --git a/content/renderer/presentation/presentation_connection_proxy_unittest.cc b/content/renderer/presentation/presentation_connection_proxy_unittest.cc
|
| index 159becffc3604a9f34c798b79e0ddbf132caca14..34e4b3ea7668be004603cabdee4bea80e26ff1e5 100644
|
| --- a/content/renderer/presentation/presentation_connection_proxy_unittest.cc
|
| +++ b/content/renderer/presentation/presentation_connection_proxy_unittest.cc
|
| @@ -114,20 +114,16 @@ TEST_F(PresentationConnectionProxyTest, TestSendArrayBuffer) {
|
|
|
| TEST_F(PresentationConnectionProxyTest, TestControllerConnectionCallsClose) {
|
| base::RunLoop run_loop;
|
| - EXPECT_CALL(*controller_connection_,
|
| - didChangeState(blink::WebPresentationConnectionState::Closed));
|
| - EXPECT_CALL(*receiver_connection_,
|
| - didChangeState(blink::WebPresentationConnectionState::Closed));
|
| + EXPECT_CALL(*controller_connection_, didClose());
|
| + EXPECT_CALL(*receiver_connection_, didClose());
|
| controller_connection_proxy_->close();
|
| run_loop.RunUntilIdle();
|
| }
|
|
|
| TEST_F(PresentationConnectionProxyTest, TestReceiverConnectionCallsClose) {
|
| base::RunLoop run_loop;
|
| - EXPECT_CALL(*controller_connection_,
|
| - didChangeState(blink::WebPresentationConnectionState::Closed));
|
| - EXPECT_CALL(*receiver_connection_,
|
| - didChangeState(blink::WebPresentationConnectionState::Closed));
|
| + EXPECT_CALL(*controller_connection_, didClose());
|
| + EXPECT_CALL(*receiver_connection_, didClose());
|
| receiver_connection_proxy_->close();
|
| run_loop.RunUntilIdle();
|
| }
|
|
|