Index: ppapi/proxy/nacl_message_scanner.h |
diff --git a/ppapi/proxy/nacl_message_scanner.h b/ppapi/proxy/nacl_message_scanner.h |
index 8c5f7662ae7e6cfff2b8b5ada969a774ba2bbb51..9f9d73a7b93ec910d11afdac4e791853d4411054 100644 |
--- a/ppapi/proxy/nacl_message_scanner.h |
+++ b/ppapi/proxy/nacl_message_scanner.h |
@@ -8,10 +8,10 @@ |
#include <stdint.h> |
#include <map> |
+#include <memory> |
#include <vector> |
#include "base/macros.h" |
-#include "base/memory/scoped_ptr.h" |
#include "base/synchronization/lock.h" |
#include "ppapi/c/pp_resource.h" |
#include "ppapi/proxy/ppapi_proxy_export.h" |
@@ -47,12 +47,12 @@ class PPAPI_PROXY_EXPORT NaClMessageScanner { |
bool ScanMessage(const IPC::Message& msg, |
uint32_t type, |
std::vector<SerializedHandle>* handles, |
- scoped_ptr<IPC::Message>* new_msg_ptr); |
+ std::unique_ptr<IPC::Message>* new_msg_ptr); |
// Scans an untrusted message for items that require special handling. If the |
// message had to be rewritten, sets |new_msg_ptr| to the new message. |
void ScanUntrustedMessage(const IPC::Message& untrusted_msg, |
- scoped_ptr<IPC::Message>* new_msg_ptr); |
+ std::unique_ptr<IPC::Message>* new_msg_ptr); |
// FileSystem information for quota auditing. |
class PPAPI_PROXY_EXPORT FileSystem { |