Index: webrtc/sdk/objc/Framework/Classes/RTCOpenGLVideoRenderer.mm |
diff --git a/webrtc/sdk/objc/Framework/Classes/RTCOpenGLVideoRenderer.mm b/webrtc/sdk/objc/Framework/Classes/RTCOpenGLVideoRenderer.mm |
index ab45ca48213be124dd6bff2b36d223945dceb752..7d7b416b888843e4028d5068de1362c57fc5f383 100644 |
--- a/webrtc/sdk/objc/Framework/Classes/RTCOpenGLVideoRenderer.mm |
+++ b/webrtc/sdk/objc/Framework/Classes/RTCOpenGLVideoRenderer.mm |
@@ -16,10 +16,10 @@ |
#import <OpenGL/gl3.h> |
#endif |
#include <string.h> |
+#include <memory> |
#import "WebRTC/RTCVideoFrame.h" |
-#include "webrtc/base/scoped_ptr.h" |
// TODO(tkchin): check and log openGL errors. Methods here return BOOLs in |
// anticipation of that happening in the future. |
@@ -162,7 +162,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; |
} |
@synthesize lastDrawnFrame = _lastDrawnFrame; |