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

Unified Diff: webrtc/modules/desktop_capture/cropping_window_capturer.h

Issue 1743203002: Replace scoped_ptr with unique_ptr in webrtc/modules/desktop_capture/ (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: More Windows reverts 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: webrtc/modules/desktop_capture/cropping_window_capturer.h
diff --git a/webrtc/modules/desktop_capture/cropping_window_capturer.h b/webrtc/modules/desktop_capture/cropping_window_capturer.h
index af456e59a30536ddb5dc59fdccecc75e77cc4367..177b5443a31de717257e40cc0b62e0ebf3540b62 100644
--- a/webrtc/modules/desktop_capture/cropping_window_capturer.h
+++ b/webrtc/modules/desktop_capture/cropping_window_capturer.h
@@ -11,6 +11,8 @@
#ifndef WEBRTC_MODULES_DESKTOP_CAPTURE_CROPPING_WINDOW_CAPTURER_H_
#define WEBRTC_MODULES_DESKTOP_CAPTURE_CROPPING_WINDOW_CAPTURER_H_
+#include <memory>
+
#include "webrtc/base/scoped_ptr.h"
#include "webrtc/modules/desktop_capture/desktop_capture_options.h"
#include "webrtc/modules/desktop_capture/screen_capturer.h"
@@ -63,8 +65,8 @@ class CroppingWindowCapturer : public WindowCapturer,
private:
DesktopCaptureOptions options_;
DesktopCapturer::Callback* callback_;
- rtc::scoped_ptr<WindowCapturer> window_capturer_;
- rtc::scoped_ptr<ScreenCapturer> screen_capturer_;
+ std::unique_ptr<WindowCapturer> window_capturer_;
+ std::unique_ptr<ScreenCapturer> screen_capturer_;
WindowId selected_window_;
WindowId excluded_window_;
};

Powered by Google App Engine
This is Rietveld 408576698