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

Unified Diff: ppapi/proxy/plugin_dispatcher.h

Issue 1864293002: Convert //ppapi to use std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more nullptr Created 4 years, 8 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/plugin_array_buffer_var.h ('k') | ppapi/proxy/plugin_dispatcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/plugin_dispatcher.h
diff --git a/ppapi/proxy/plugin_dispatcher.h b/ppapi/proxy/plugin_dispatcher.h
index 5dc22731552892e521bbf6e9d759fb7e308f24de..b37fa9eb63c5851a50be40226204a20e006f929f 100644
--- a/ppapi/proxy/plugin_dispatcher.h
+++ b/ppapi/proxy/plugin_dispatcher.h
@@ -68,7 +68,7 @@ struct InstanceData {
// The message handler which should handle JavaScript->Plugin messages, if
// one has been registered, otherwise NULL.
- scoped_ptr<MessageHandler> message_handler;
+ std::unique_ptr<MessageHandler> message_handler;
// Flush info for PpapiCommandBufferProxy::OrderingBarrier().
struct FlushInfo {
@@ -208,7 +208,7 @@ class PPAPI_PROXY_EXPORT PluginDispatcher
typedef base::hash_map<std::string, const void*> InterfaceMap;
InterfaceMap plugin_interfaces_;
- typedef base::ScopedPtrHashMap<PP_Instance, scoped_ptr<InstanceData>>
+ typedef base::ScopedPtrHashMap<PP_Instance, std::unique_ptr<InstanceData>>
InstanceDataMap;
InstanceDataMap instance_map_;
« no previous file with comments | « ppapi/proxy/plugin_array_buffer_var.h ('k') | ppapi/proxy/plugin_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698