Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(634)

Unified Diff: remoting/protocol/webrtc_video_capturer_adapter.h

Issue 1821153003: Avoid using MakeExclusive, which is going to be deleted in webrtc. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: remoting/protocol/webrtc_video_capturer_adapter.h
diff --git a/remoting/protocol/webrtc_video_capturer_adapter.h b/remoting/protocol/webrtc_video_capturer_adapter.h
index add16036db2efff5647733d59e686fc0f76025f2..c76a8c6a2deb340a4a48c6579246fb1090f1b496 100644
--- a/remoting/protocol/webrtc_video_capturer_adapter.h
+++ b/remoting/protocol/webrtc_video_capturer_adapter.h
@@ -83,7 +83,7 @@ class WebrtcVideoCapturerAdapter : public cricket::VideoCapturer,
// Video frame is kept between captures to avoid YUV conversion for static
// parts of the screen.
- scoped_ptr<cricket::VideoFrame> yuv_frame_;
+ rtc::scoped_refptr<webrtc::I420Buffer> yuv_frame_;
bool capture_pending_ = false;
@@ -96,4 +96,3 @@ class WebrtcVideoCapturerAdapter : public cricket::VideoCapturer,
} // namespace remoting
#endif // REMOTING_PROTOCOL_WEBRTC_VIDEO_CAPTURER_ADAPTER_H_
-
« no previous file with comments | « no previous file | remoting/protocol/webrtc_video_capturer_adapter.cc » ('j') | remoting/protocol/webrtc_video_capturer_adapter.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698