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

Unified Diff: talk/app/webrtc/objc/RTCOpenGLVideoRenderer.mm

Issue 1785353003: Replace scoped_ptr with unique_ptr in talk/ (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 9 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 | « talk/app/webrtc/objc/RTCMediaStreamTrack.mm ('k') | talk/app/webrtc/objc/RTCPeerConnection.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: talk/app/webrtc/objc/RTCOpenGLVideoRenderer.mm
diff --git a/talk/app/webrtc/objc/RTCOpenGLVideoRenderer.mm b/talk/app/webrtc/objc/RTCOpenGLVideoRenderer.mm
index cfead91bcafd0eee7261af8750473649ef46e16d..b0f1b80cc03e22cbdb413e759034eda8749f2686 100644
--- a/talk/app/webrtc/objc/RTCOpenGLVideoRenderer.mm
+++ b/talk/app/webrtc/objc/RTCOpenGLVideoRenderer.mm
@@ -33,7 +33,7 @@
#include <string.h>
-#include "webrtc/base/scoped_ptr.h"
+#include <memory>
#if TARGET_OS_IPHONE
#import <OpenGLES/ES3/gl.h>
@@ -184,7 +184,7 @@ static const GLsizei kNumTextures = 3 * kNumTextureSets;
GLint _vSampler;
// Used to create a non-padded plane for GPU upload when we receive padded
// frames.
- rtc::scoped_ptr<uint8_t[]> _planeBuffer;
+ std::unique_ptr<uint8_t[]> _planeBuffer;
}
+ (void)initialize {
« no previous file with comments | « talk/app/webrtc/objc/RTCMediaStreamTrack.mm ('k') | talk/app/webrtc/objc/RTCPeerConnection.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698