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

Unified Diff: ppapi/proxy/ppb_flash_message_loop_proxy.cc

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/ppb_flash_message_loop_proxy.h ('k') | ppapi/proxy/ppb_graphics_3d_proxy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/ppb_flash_message_loop_proxy.cc
diff --git a/ppapi/proxy/ppb_flash_message_loop_proxy.cc b/ppapi/proxy/ppb_flash_message_loop_proxy.cc
index 24d990e69dbe5085eb868ac4f5141aa6074a09ef..8b76946d81c7564c31153a1901e4a3cd8f1d235b 100644
--- a/ppapi/proxy/ppb_flash_message_loop_proxy.cc
+++ b/ppapi/proxy/ppb_flash_message_loop_proxy.cc
@@ -135,7 +135,7 @@ void PPB_Flash_MessageLoop_Proxy::OnMsgRun(
PPB_Flash_MessageLoop_API::RunFromHostProxyCallback callback =
base::Bind(&PPB_Flash_MessageLoop_Proxy::WillQuitSoon, AsWeakPtr(),
- base::Passed(scoped_ptr<IPC::Message>(reply)));
+ base::Passed(std::unique_ptr<IPC::Message>(reply)));
EnterHostFromHostResource<PPB_Flash_MessageLoop_API>
enter(flash_message_loop);
@@ -154,7 +154,7 @@ void PPB_Flash_MessageLoop_Proxy::OnMsgQuit(
}
void PPB_Flash_MessageLoop_Proxy::WillQuitSoon(
- scoped_ptr<IPC::Message> reply_message,
+ std::unique_ptr<IPC::Message> reply_message,
int32_t result) {
PpapiHostMsg_PPBFlashMessageLoop_Run::WriteReplyParams(reply_message.get(),
result);
« no previous file with comments | « ppapi/proxy/ppb_flash_message_loop_proxy.h ('k') | ppapi/proxy/ppb_graphics_3d_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698