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

Unified Diff: sandbox/win/src/Wow64.cc

Issue 169193002: Convert scoped_ptr_malloc -> scoped_ptr, part 2. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 6 years, 10 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 | « net/socket_stream/socket_stream.h ('k') | sandbox/win/src/acl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sandbox/win/src/Wow64.cc
diff --git a/sandbox/win/src/Wow64.cc b/sandbox/win/src/Wow64.cc
index b11026b1a52dac16699219c3ddec8ae42fb5c154..59df1d6f6741db720e3ac4fbc550f96bbfb2a0c6 100644
--- a/sandbox/win/src/Wow64.cc
+++ b/sandbox/win/src/Wow64.cc
@@ -153,7 +153,8 @@ bool Wow64::RunWowHelper(void* buffer) {
L"wow_helper.exe\" " << child_->ProcessId() << " " <<
bit_cast<ULONG>(buffer);
- scoped_ptr_malloc<wchar_t> writable_command(_wcsdup(command.str().c_str()));
+ scoped_ptr<wchar_t, base::FreeDeleter>
+ writable_command(_wcsdup(command.str().c_str()));
STARTUPINFO startup_info = {0};
startup_info.cb = sizeof(startup_info);
« no previous file with comments | « net/socket_stream/socket_stream.h ('k') | sandbox/win/src/acl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698