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

Unified Diff: webrtc/modules/desktop_capture/mac/desktop_configuration_monitor.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/mac/desktop_configuration_monitor.h
diff --git a/webrtc/modules/desktop_capture/mac/desktop_configuration_monitor.h b/webrtc/modules/desktop_capture/mac/desktop_configuration_monitor.h
index b2fa81a4161dda249699ce546933f4385202f5ec..2f2dd72a6e5e4635925662aceddeff040c34d644 100644
--- a/webrtc/modules/desktop_capture/mac/desktop_configuration_monitor.h
+++ b/webrtc/modules/desktop_capture/mac/desktop_configuration_monitor.h
@@ -13,9 +13,9 @@
#include <ApplicationServices/ApplicationServices.h>
+#include <memory>
#include <set>
-#include "webrtc/base/scoped_ptr.h"
#include "webrtc/modules/desktop_capture/mac/desktop_configuration.h"
#include "webrtc/system_wrappers/include/atomic32.h"
@@ -56,7 +56,7 @@ class DesktopConfigurationMonitor {
Atomic32 ref_count_;
std::set<CGDirectDisplayID> reconfiguring_displays_;
MacDesktopConfiguration desktop_configuration_;
- rtc::scoped_ptr<EventWrapper> display_configuration_capture_event_;
+ std::unique_ptr<EventWrapper> display_configuration_capture_event_;
RTC_DISALLOW_COPY_AND_ASSIGN(DesktopConfigurationMonitor);
};

Powered by Google App Engine
This is Rietveld 408576698