| Index: remoting/protocol/video_frame_pump_unittest.cc
|
| diff --git a/remoting/protocol/video_frame_pump_unittest.cc b/remoting/protocol/video_frame_pump_unittest.cc
|
| index 18c041fa3ec4a4706919d25c0fb84a1a84aa6443..34d8f311cdc2076081a40dc83a24f2ab4c71b304 100644
|
| --- a/remoting/protocol/video_frame_pump_unittest.cc
|
| +++ b/remoting/protocol/video_frame_pump_unittest.cc
|
| @@ -118,7 +118,8 @@ class ThreadCheckDesktopCapturer : public webrtc::DesktopCapturer {
|
| new webrtc::BasicDesktopFrame(webrtc::DesktopSize(kWidth, kHeight)));
|
| frame->mutable_updated_region()->SetRect(
|
| webrtc::DesktopRect::MakeXYWH(0, 0, 10, 10));
|
| - callback_->OnCaptureCompleted(frame.release());
|
| + callback_->OnCaptureResult(webrtc::DesktopCapturer::Result::SUCCESS,
|
| + std::move(frame));
|
| }
|
|
|
| private:
|
|
|