| Index: remoting/host/ipc_video_frame_capturer.cc
|
| diff --git a/remoting/host/ipc_video_frame_capturer.cc b/remoting/host/ipc_video_frame_capturer.cc
|
| index 23cc5e0c2cad1610e81074065df333929316d446..396d83ce6076ef2cbe870ef686a331eab6711059 100644
|
| --- a/remoting/host/ipc_video_frame_capturer.cc
|
| +++ b/remoting/host/ipc_video_frame_capturer.cc
|
| @@ -33,11 +33,12 @@ void IpcVideoFrameCapturer::Capture(const webrtc::DesktopRegion& region) {
|
| desktop_session_proxy_->CaptureFrame();
|
| }
|
|
|
| -void IpcVideoFrameCapturer::OnCaptureCompleted(
|
| +void IpcVideoFrameCapturer::OnCaptureResult(
|
| + webrtc::DesktopCapturer::Result result,
|
| std::unique_ptr<webrtc::DesktopFrame> frame) {
|
| DCHECK(capture_pending_);
|
| capture_pending_ = false;
|
| - callback_->OnCaptureCompleted(frame.release());
|
| + callback_->OnCaptureResult(result, std::move(frame));
|
| }
|
|
|
| } // namespace remoting
|
|
|