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

Unified Diff: webrtc/media/devices/gdivideorenderer.cc

Issue 1728503002: Replace scoped_ptr with unique_ptr in webrtc/media/ (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@up1
Patch Set: Created 4 years, 10 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/media/devices/gdivideorenderer.h ('k') | webrtc/media/devices/gtkvideorenderer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/media/devices/gdivideorenderer.cc
diff --git a/webrtc/media/devices/gdivideorenderer.cc b/webrtc/media/devices/gdivideorenderer.cc
index 77cf7bb8ff6d5a535769606b9dbd2add90d91fbe..78cba3ff26862a4b8cf63aa20eccc062947a06dd 100644
--- a/webrtc/media/devices/gdivideorenderer.cc
+++ b/webrtc/media/devices/gdivideorenderer.cc
@@ -14,7 +14,6 @@
#include "webrtc/media/devices/gdivideorenderer.h"
-#include "webrtc/base/scoped_ptr.h"
#include "webrtc/base/thread.h"
#include "webrtc/base/win32window.h"
#include "webrtc/media/base/videocommon.h"
@@ -83,8 +82,8 @@ class GdiVideoRenderer::VideoWindow : public rtc::Win32Window {
void OnRenderFrame(const VideoFrame* frame);
BITMAPINFO bmi_;
- rtc::scoped_ptr<uint8_t[]> image_;
- rtc::scoped_ptr<WindowThread> window_thread_;
+ std::unique_ptr<uint8_t[]> image_;
+ std::unique_ptr<WindowThread> window_thread_;
// The initial position of the window.
int initial_x_;
int initial_y_;
« no previous file with comments | « webrtc/media/devices/gdivideorenderer.h ('k') | webrtc/media/devices/gtkvideorenderer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698