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

Unified Diff: webrtc/modules/desktop_capture/screen_capturer_win.cc

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/screen_capturer_win.cc
diff --git a/webrtc/modules/desktop_capture/screen_capturer_win.cc b/webrtc/modules/desktop_capture/screen_capturer_win.cc
index 18be4eb30ba60e0f0a344f9b95f472a497f26216..22113a870df4fa4c54a140801aecf8c694206ecb 100644
--- a/webrtc/modules/desktop_capture/screen_capturer_win.cc
+++ b/webrtc/modules/desktop_capture/screen_capturer_win.cc
@@ -10,6 +10,7 @@
#include "webrtc/modules/desktop_capture/screen_capturer.h"
+#include <memory>
#include <utility>
#include "webrtc/modules/desktop_capture/desktop_capture_options.h"
@@ -20,7 +21,7 @@ namespace webrtc {
// static
ScreenCapturer* ScreenCapturer::Create(const DesktopCaptureOptions& options) {
- rtc::scoped_ptr<ScreenCapturer> gdi_capturer(
+ std::unique_ptr<ScreenCapturer> gdi_capturer(
new ScreenCapturerWinGdi(options));
if (options.allow_use_magnification_api())

Powered by Google App Engine
This is Rietveld 408576698