Index: webrtc/media/devices/gtkvideorenderer.h |
diff --git a/webrtc/media/devices/gtkvideorenderer.h b/webrtc/media/devices/gtkvideorenderer.h |
index befa71a108b6b578c52d3e73df8640bea5c6fa7d..a852f8c5083eff65c3b3346c6e10057ad32de232 100644 |
--- a/webrtc/media/devices/gtkvideorenderer.h |
+++ b/webrtc/media/devices/gtkvideorenderer.h |
@@ -14,8 +14,9 @@ |
#ifndef WEBRTC_MEDIA_DEVICES_GTKVIDEORENDERER_H_ |
#define WEBRTC_MEDIA_DEVICES_GTKVIDEORENDERER_H_ |
+#include <memory> |
+ |
#include "webrtc/base/basictypes.h" |
-#include "webrtc/base/scoped_ptr.h" |
#include "webrtc/media/base/videorenderer.h" |
typedef struct _GtkWidget GtkWidget; // forward declaration, defined in gtk.h |
@@ -41,7 +42,7 @@ class GtkVideoRenderer : public VideoRenderer { |
// Check if the window has been closed. |
bool IsClosed() const; |
- rtc::scoped_ptr<uint8_t[]> image_; |
+ std::unique_ptr<uint8_t[]> image_; |
GtkWidget* window_; |
GtkWidget* draw_area_; |
// The initial position of the window. |