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

Unified Diff: webrtc/modules/video_render/ios/video_render_ios_view.mm

Issue 1738863002: Replace scoped_ptr with unique_ptr in webrtc/modules/video_*/ (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@up4
Patch Set: rebase 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
Index: webrtc/modules/video_render/ios/video_render_ios_view.mm
diff --git a/webrtc/modules/video_render/ios/video_render_ios_view.mm b/webrtc/modules/video_render/ios/video_render_ios_view.mm
index 6ffe976c995ff3df785c7d19caeb7d493eaebf5e..b106ffa5c4f925a8f59999394e8b5e1b4fd68107 100644
--- a/webrtc/modules/video_render/ios/video_render_ios_view.mm
+++ b/webrtc/modules/video_render/ios/video_render_ios_view.mm
@@ -12,6 +12,8 @@
#error "This file requires ARC support."
#endif
+#include <memory>
+
#include "webrtc/modules/video_render/ios/video_render_ios_view.h"
#include "webrtc/system_wrappers/include/trace.h"
@@ -19,7 +21,7 @@ using namespace webrtc;
@implementation VideoRenderIosView {
EAGLContext* _context;
- rtc::scoped_ptr<webrtc::OpenGles20> _gles_renderer20;
+ std::unique_ptr<webrtc::OpenGles20> _gles_renderer20;
int _frameBufferWidth;
int _frameBufferHeight;
unsigned int _defaultFrameBuffer;
« no previous file with comments | « webrtc/modules/video_render/ios/video_render_ios_impl.h ('k') | webrtc/modules/video_render/mac/video_render_agl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698