Index: remoting/protocol/webrtc_video_capturer_adapter.cc |
diff --git a/remoting/protocol/webrtc_video_capturer_adapter.cc b/remoting/protocol/webrtc_video_capturer_adapter.cc |
index 0511a8fd390b5e2bfd8decda2516f77eef982036..d7369a407b349adee11c14558a14d9a7dd6252bd 100644 |
--- a/remoting/protocol/webrtc_video_capturer_adapter.cc |
+++ b/remoting/protocol/webrtc_video_capturer_adapter.cc |
@@ -30,7 +30,7 @@ WebrtcVideoCapturerAdapter::~WebrtcVideoCapturerAdapter() { |
} |
void WebrtcVideoCapturerAdapter::SetSizeCallback( |
- const SizeCallback& size_callback) { |
+ const VideoStream::SizeCallback& size_callback) { |
DCHECK(thread_checker_.CalledOnValidThread()); |
size_callback_ = size_callback; |
} |
@@ -169,7 +169,7 @@ void WebrtcVideoCapturerAdapter::OnCaptureCompleted( |
if (!yuv_frame_ || yuv_frame_->GetWidth() != width || |
yuv_frame_->GetHeight() != height) { |
if (!size_callback_.is_null()) |
- size_callback_.Run(frame->size()); |
+ size_callback_.Run(frame->size(), frame->dpi()); |
scoped_ptr<cricket::WebRtcVideoFrame> webrtc_frame( |
new cricket::WebRtcVideoFrame()); |