Index: ppapi/proxy/interface_list.cc |
diff --git a/ppapi/proxy/interface_list.cc b/ppapi/proxy/interface_list.cc |
index 8fb4cfe12ab9fdfb74a75547cfe39ff30891d4a3..b2359742b950524aa00a8dba3b3497a092a8436b 100644 |
--- a/ppapi/proxy/interface_list.cc |
+++ b/ppapi/proxy/interface_list.cc |
@@ -398,15 +398,15 @@ void InterfaceList::AddPPB(const char* name, |
Permission perm) { |
DCHECK(name_to_browser_info_.find(name) == name_to_browser_info_.end()); |
name_to_browser_info_.add( |
- name, scoped_ptr<InterfaceInfo>(new InterfaceInfo(iface, perm))); |
+ name, std::unique_ptr<InterfaceInfo>(new InterfaceInfo(iface, perm))); |
} |
void InterfaceList::AddPPP(const char* name, |
const void* iface) { |
DCHECK(name_to_plugin_info_.find(name) == name_to_plugin_info_.end()); |
- name_to_plugin_info_.add( |
- name, |
- scoped_ptr<InterfaceInfo>(new InterfaceInfo(iface, PERMISSION_NONE))); |
+ name_to_plugin_info_.add(name, |
+ std::unique_ptr<InterfaceInfo>( |
+ new InterfaceInfo(iface, PERMISSION_NONE))); |
} |
int InterfaceList::HashInterfaceName(const std::string& name) { |