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

Unified Diff: ppapi/proxy/udp_socket_filter.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/serialized_var.cc ('k') | ppapi/proxy/udp_socket_filter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/udp_socket_filter.h
diff --git a/ppapi/proxy/udp_socket_filter.h b/ppapi/proxy/udp_socket_filter.h
index 4aa3e5cde83b23d4f0fca63834b011043d1b04b4..e10ca3a886d8e561ec4f57aeff77af8959f8a3c6 100644
--- a/ppapi/proxy/udp_socket_filter.h
+++ b/ppapi/proxy/udp_socket_filter.h
@@ -8,6 +8,7 @@
#include <stddef.h>
#include <stdint.h>
+#include <memory>
#include <queue>
#include <string>
@@ -130,7 +131,7 @@ class PPAPI_PROXY_EXPORT UDPSocketFilter : public ResourceMessageFilter {
// 1 ppapi::ProxyLock
// \-->2 Filter lock_
mutable base::Lock lock_;
- base::ScopedPtrHashMap<PP_Resource, scoped_ptr<RecvQueue>> queues_;
+ base::ScopedPtrHashMap<PP_Resource, std::unique_ptr<RecvQueue>> queues_;
};
} // namespace proxy
« no previous file with comments | « ppapi/proxy/serialized_var.cc ('k') | ppapi/proxy/udp_socket_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698