| Index: webrtc/examples/peerconnection/client/main_wnd.cc
|
| diff --git a/webrtc/examples/peerconnection/client/main_wnd.cc b/webrtc/examples/peerconnection/client/main_wnd.cc
|
| index 608e6dfe917f6cfd5bb1304aba3a15e439e0bc2e..91e66cd519fab6b72b8734fa6ca44aeb3d8f5d09 100644
|
| --- a/webrtc/examples/peerconnection/client/main_wnd.cc
|
| +++ b/webrtc/examples/peerconnection/client/main_wnd.cc
|
| @@ -607,8 +607,7 @@ void MainWnd::VideoRenderer::OnFrame(
|
| const cricket::VideoFrame* frame =
|
| video_frame.GetCopyWithRotationApplied();
|
|
|
| - SetSize(static_cast<int>(frame->GetWidth()),
|
| - static_cast<int>(frame->GetHeight()));
|
| + SetSize(frame->width(), frame->height());
|
|
|
| ASSERT(image_.get() != NULL);
|
| frame->ConvertToRgbBuffer(cricket::FOURCC_ARGB,
|
|
|