Index: remoting/protocol/connection_unittest.cc |
diff --git a/remoting/protocol/connection_unittest.cc b/remoting/protocol/connection_unittest.cc |
index 7e639ccb31b6d04a3f1b98be27cff194b755b8ed..be04b6c7e1546b065414818d36cbe649ac0f3bd9 100644 |
--- a/remoting/protocol/connection_unittest.cc |
+++ b/remoting/protocol/connection_unittest.cc |
@@ -84,7 +84,8 @@ class TestScreenCapturer : public webrtc::DesktopCapturer { |
webrtc::DesktopRect::MakeSize(frame->size())); |
} |
- callback_->OnCaptureCompleted(frame.release()); |
+ callback_->OnCaptureResult(webrtc::DesktopCapturer::Result::SUCCESS, |
+ std::move(frame)); |
} |
private: |