| Index: ppapi/proxy/device_enumeration_resource_helper.cc
|
| diff --git a/ppapi/proxy/device_enumeration_resource_helper.cc b/ppapi/proxy/device_enumeration_resource_helper.cc
|
| index 45eee0e7cd1243b365231ec559a6a38a7b2972ed..3ff87b6ce6ef208e14ba0e58d96df01cde41b211 100644
|
| --- a/ppapi/proxy/device_enumeration_resource_helper.cc
|
| +++ b/ppapi/proxy/device_enumeration_resource_helper.cc
|
| @@ -6,9 +6,10 @@
|
|
|
| #include <stddef.h>
|
|
|
| +#include <memory>
|
| +
|
| #include "base/bind.h"
|
| #include "base/logging.h"
|
| -#include "base/memory/scoped_ptr.h"
|
| #include "ipc/ipc_message.h"
|
| #include "ipc/ipc_message_macros.h"
|
| #include "ppapi/c/pp_array_output.h"
|
| @@ -147,7 +148,7 @@ void DeviceEnumerationResourceHelper::OnPluginMsgNotifyDeviceChange(
|
|
|
| CHECK(monitor_callback_.get());
|
|
|
| - scoped_ptr<PP_Resource[]> elements;
|
| + std::unique_ptr<PP_Resource[]> elements;
|
| uint32_t size = static_cast<uint32_t>(devices.size());
|
| if (size > 0) {
|
| elements.reset(new PP_Resource[size]);
|
|
|