| Index: ppapi/thunk/ppb_flash_clipboard_thunk.cc
|
| diff --git a/ppapi/thunk/ppb_flash_clipboard_thunk.cc b/ppapi/thunk/ppb_flash_clipboard_thunk.cc
|
| index 8c925e77e6e797d6805322dc5459e0fbe6d0927d..240550a0bd1bdb0746a3070aa16306ca9795aa6f 100644
|
| --- a/ppapi/thunk/ppb_flash_clipboard_thunk.cc
|
| +++ b/ppapi/thunk/ppb_flash_clipboard_thunk.cc
|
| @@ -4,7 +4,8 @@
|
|
|
| #include <stdint.h>
|
|
|
| -#include "base/memory/scoped_ptr.h"
|
| +#include <memory>
|
| +
|
| #include "ppapi/c/pp_errors.h"
|
| #include "ppapi/c/private/ppb_flash_clipboard.h"
|
| #include "ppapi/thunk/enter.h"
|
| @@ -72,7 +73,7 @@ int32_t WriteData_4_0(PP_Instance instance,
|
| uint32_t data_item_count,
|
| const PP_Flash_Clipboard_Format formats[],
|
| const PP_Var data_items[]) {
|
| - scoped_ptr<uint32_t[]> new_formats(new uint32_t[data_item_count]);
|
| + std::unique_ptr<uint32_t[]> new_formats(new uint32_t[data_item_count]);
|
| for (uint32_t i = 0; i < data_item_count; ++i)
|
| new_formats[i] = static_cast<uint32_t>(formats[i]);
|
| return WriteData(instance, clipboard_type, data_item_count,
|
|
|