| 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 3013bc9545ac2fe42f37711bcb2d29889050c318..0d5dec09e866e863f588238d5cfb1e701d460459 100644
|
| --- a/remoting/protocol/webrtc_video_capturer_adapter.cc
|
| +++ b/remoting/protocol/webrtc_video_capturer_adapter.cc
|
| @@ -18,7 +18,7 @@ namespace protocol {
|
| const int kFramesPerSec = 30;
|
|
|
| WebrtcVideoCapturerAdapter::WebrtcVideoCapturerAdapter(
|
| - scoped_ptr<webrtc::DesktopCapturer> capturer)
|
| + std::unique_ptr<webrtc::DesktopCapturer> capturer)
|
| : desktop_capturer_(std::move(capturer)), weak_factory_(this) {
|
| DCHECK(desktop_capturer_);
|
|
|
| @@ -157,7 +157,7 @@ void WebrtcVideoCapturerAdapter::OnCaptureCompleted(
|
| if (!frame)
|
| return;
|
|
|
| - scoped_ptr<webrtc::DesktopFrame> owned_frame(frame);
|
| + std::unique_ptr<webrtc::DesktopFrame> owned_frame(frame);
|
|
|
| // TODO(sergeyu): Currently the adapter keeps generating frames even when
|
| // nothing is changing on the screen. This is necessary because the video
|
|
|