Index: remoting/host/win/launch_process_with_token.cc |
diff --git a/remoting/host/win/launch_process_with_token.cc b/remoting/host/win/launch_process_with_token.cc |
index 167ca9a7d4aa719c5553921582dbcc15f174b40c..72089f555041117301c57ec93197767c7640f4a4 100644 |
--- a/remoting/host/win/launch_process_with_token.cc |
+++ b/remoting/host/win/launch_process_with_token.cc |
@@ -327,7 +327,7 @@ bool SendCreateProcessRequest( |
// and three NULL-terminated string parameters. |
size_t size = sizeof(CreateProcessRequest) + sizeof(wchar_t) * |
(application_name.size() + command_line.size() + desktop.size() + 3); |
- scoped_array<char> buffer(new char[size]); |
+ scoped_ptr<char[]> buffer(new char[size]); |
memset(buffer.get(), 0, size); |
// Marshal the input parameters. |