| Index: ppapi/proxy/flash_font_file_resource.cc
|
| diff --git a/ppapi/proxy/flash_font_file_resource.cc b/ppapi/proxy/flash_font_file_resource.cc
|
| index 34c22eb574310ef3381a9c684ab72ba9dbe8b3b2..9e2e4724377794f65a82b6c9c960f7609e3c3880 100644
|
| --- a/ppapi/proxy/flash_font_file_resource.cc
|
| +++ b/ppapi/proxy/flash_font_file_resource.cc
|
| @@ -6,6 +6,7 @@
|
|
|
| #include <cstring>
|
|
|
| +#include "base/memory/ptr_util.h"
|
| #include "ppapi/c/pp_errors.h"
|
| #include "ppapi/proxy/ppapi_messages.h"
|
|
|
| @@ -72,7 +73,7 @@ const std::string* FlashFontFileResource::AddFontTable(
|
| uint32_t table,
|
| const std::string& contents) {
|
| FontTableMap::const_iterator it =
|
| - font_tables_.set(table, make_scoped_ptr(new std::string(contents)));
|
| + font_tables_.set(table, base::WrapUnique(new std::string(contents)));
|
| return it->second;
|
| }
|
|
|
|
|