Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1490)

Unified Diff: ppapi/proxy/flash_font_file_resource.cc

Issue 2254973004: Re-write many calls to WrapUnique() with MakeUnique() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ppapi/proxy/audio_encoder_resource.cc ('k') | ppapi/proxy/video_encoder_resource.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 9e2e4724377794f65a82b6c9c960f7609e3c3880..7d3b7c4bc141c7bdade15403cc1925010db97b91 100644
--- a/ppapi/proxy/flash_font_file_resource.cc
+++ b/ppapi/proxy/flash_font_file_resource.cc
@@ -73,7 +73,7 @@ const std::string* FlashFontFileResource::AddFontTable(
uint32_t table,
const std::string& contents) {
FontTableMap::const_iterator it =
- font_tables_.set(table, base::WrapUnique(new std::string(contents)));
+ font_tables_.set(table, base::MakeUnique<std::string>(contents));
return it->second;
}
« no previous file with comments | « ppapi/proxy/audio_encoder_resource.cc ('k') | ppapi/proxy/video_encoder_resource.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698