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 |