| Index: content/renderer/presentation/presentation_dispatcher_unittest.cc
|
| diff --git a/content/renderer/presentation/presentation_dispatcher_unittest.cc b/content/renderer/presentation/presentation_dispatcher_unittest.cc
|
| index 0310bd8adc02d282e2e2608ad95f3c19e3660c44..732b161a06a8e6df3e8d38929f9a38fbd9233b0c 100644
|
| --- a/content/renderer/presentation/presentation_dispatcher_unittest.cc
|
| +++ b/content/renderer/presentation/presentation_dispatcher_unittest.cc
|
| @@ -120,6 +120,10 @@ class TestPresentationReceiver : public blink::WebPresentationReceiver {
|
| return &connection_;
|
| }
|
|
|
| + MOCK_METHOD1(didChangeSessionState,
|
| + void(blink::WebPresentationConnectionState));
|
| + MOCK_METHOD0(terminateConnection, void());
|
| +
|
| TestPresentationConnection connection_;
|
| };
|
|
|
| @@ -506,7 +510,7 @@ TEST_F(PresentationDispatcherTest, TestTerminateSession) {
|
| base::RunLoop run_loop;
|
| EXPECT_CALL(presentation_service_,
|
| Terminate(gurl1_, presentation_id_.utf8()));
|
| - dispatcher_.terminateSession(url1_, presentation_id_);
|
| + dispatcher_.terminateConnection(url1_, presentation_id_);
|
| run_loop.RunUntilIdle();
|
| }
|
|
|
|
|