summaryrefslogtreecommitdiffstats
path: root/remoting/host/local_input_monitor_win.cc
diff options
context:
space:
mode:
authordcheng@chromium.org <dcheng@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-08 20:13:23 +0000
committerdcheng@chromium.org <dcheng@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-08 20:13:23 +0000
commitc84c53d4f885f1b355213c575197255ea0945daf (patch)
tree541ea1e98b56d44779f6cccf29017cc7a26ad57a /remoting/host/local_input_monitor_win.cc
parent7886251782519c0100a0b10d9185bc4e0026023b (diff)
downloadchromium_src-c84c53d4f885f1b355213c575197255ea0945daf.zip
chromium_src-c84c53d4f885f1b355213c575197255ea0945daf.tar.gz
chromium_src-c84c53d4f885f1b355213c575197255ea0945daf.tar.bz2
Rewrite scoped_array<T> to scoped_ptr<T[]> in remoting/, Linux edition.
This changelist was automatically generated using a clang tool. BUG=171111 Review URL: https://codereview.chromium.org/13642007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192873 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/host/local_input_monitor_win.cc')
-rw-r--r--remoting/host/local_input_monitor_win.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/remoting/host/local_input_monitor_win.cc b/remoting/host/local_input_monitor_win.cc
index b23b02c..98cd8a4 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,