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

Unified Diff: webrtc/base/x11windowpicker.h

Issue 1920043002: Replace scoped_ptr with unique_ptr in webrtc/base/ (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Rebased Created 4 years, 8 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
« no previous file with comments | « webrtc/base/windowpicker_unittest.cc ('k') | webrtc/p2p/base/dtlstransportchannel.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/base/x11windowpicker.h
diff --git a/webrtc/base/x11windowpicker.h b/webrtc/base/x11windowpicker.h
index 501adf5820be911e2f3564f11a433d3241aa1c40..d741759368be78e01c8e53a3a606f29ed35d4abf 100644
--- a/webrtc/base/x11windowpicker.h
+++ b/webrtc/base/x11windowpicker.h
@@ -11,8 +11,9 @@
#ifndef WEBRTC_BASE_LINUXWINDOWPICKER_H_
#define WEBRTC_BASE_LINUXWINDOWPICKER_H_
+#include <memory>
+
#include "webrtc/base/basictypes.h"
-#include "webrtc/base/scoped_ptr.h"
#include "webrtc/base/windowpicker.h"
// Avoid include <X11/Xlib.h>.
@@ -44,7 +45,7 @@ class X11WindowPicker : public WindowPicker {
uint8_t* GetDesktopThumbnail(const DesktopId& id, int width, int height);
private:
- scoped_ptr<XWindowEnumerator> enumerator_;
+ std::unique_ptr<XWindowEnumerator> enumerator_;
};
} // namespace rtc
« no previous file with comments | « webrtc/base/windowpicker_unittest.cc ('k') | webrtc/p2p/base/dtlstransportchannel.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698