| Index: remoting/host/client_session_unittest.cc
|
| diff --git a/remoting/host/client_session_unittest.cc b/remoting/host/client_session_unittest.cc
|
| index b5c2d1bd6656b737aab70ccfe1aadf303e05408c..c38021a50c3ae3083f5f8b95c0b43b4a8e36773a 100644
|
| --- a/remoting/host/client_session_unittest.cc
|
| +++ b/remoting/host/client_session_unittest.cc
|
| @@ -210,7 +210,8 @@ void ClientSessionTest::ConnectClientSession() {
|
| }
|
|
|
| void ClientSessionTest::NotifyVideoSize() {
|
| - connection_->last_video_stream()->size_callback().Run(
|
| + connection_->last_video_stream()->observer()->OnVideoSizeChanged(
|
| + connection_->last_video_stream().get(),
|
| webrtc::DesktopSize(protocol::FakeDesktopCapturer::kWidth,
|
| protocol::FakeDesktopCapturer::kHeight),
|
| webrtc::DesktopVector(kDefaultDpi, kDefaultDpi));
|
|
|