| Index: webrtc/modules/utility/source/helpers_ios.mm
|
| diff --git a/webrtc/modules/utility/source/helpers_ios.mm b/webrtc/modules/utility/source/helpers_ios.mm
|
| index 3d7567b7f0f6362c1931f3ca286358801fb8e58c..2afcb2953a1733e93d669aa8b15f815e17d48ac6 100644
|
| --- a/webrtc/modules/utility/source/helpers_ios.mm
|
| +++ b/webrtc/modules/utility/source/helpers_ios.mm
|
| @@ -15,9 +15,10 @@
|
| #import <sys/sysctl.h>
|
| #import <UIKit/UIKit.h>
|
|
|
| +#include <memory>
|
| +
|
| #include "webrtc/base/checks.h"
|
| #include "webrtc/base/logging.h"
|
| -#include "webrtc/base/scoped_ptr.h"
|
| #include "webrtc/modules/utility/include/helpers_ios.h"
|
|
|
| namespace webrtc {
|
| @@ -152,7 +153,7 @@ std::string GetDeviceType() {
|
| std::string GetDeviceName() {
|
| size_t size;
|
| sysctlbyname("hw.machine", NULL, &size, NULL, 0);
|
| - rtc::scoped_ptr<char[]> machine;
|
| + std::unique_ptr<char[]> machine;
|
| machine.reset(new char[size]);
|
| sysctlbyname("hw.machine", machine.get(), &size, NULL, 0);
|
| return std::string(LookUpRealName(machine.get()));
|
|
|