Index: remoting/host/local_input_monitor_win.cc |
diff --git a/remoting/host/local_input_monitor_win.cc b/remoting/host/local_input_monitor_win.cc |
index b23b02cfcbcd97daad4f6aff78c4922df249c154..98cd8a4987ce3f389c27f0dd8054d16bdf07240e 100644 |
--- a/remoting/host/local_input_monitor_win.cc |
+++ b/remoting/host/local_input_monitor_win.cc |
@@ -174,7 +174,7 @@ LRESULT LocalInputMonitorWin::Core::OnInput(HRAWINPUT input_handle) { |
} |
// Retrieve the input record itself. |
- scoped_array<uint8> buffer(new uint8[size]); |
+ scoped_ptr<uint8[]> buffer(new uint8[size]); |
RAWINPUT* input = reinterpret_cast<RAWINPUT*>(buffer.get()); |
result = GetRawInputData(input_handle, |
RID_INPUT, |