diff options
author | dcheng@chromium.org <dcheng@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-04-08 20:13:23 +0000 |
---|---|---|
committer | dcheng@chromium.org <dcheng@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-04-08 20:13:23 +0000 |
commit | c84c53d4f885f1b355213c575197255ea0945daf (patch) | |
tree | 541ea1e98b56d44779f6cccf29017cc7a26ad57a /remoting/host/local_input_monitor_win.cc | |
parent | 7886251782519c0100a0b10d9185bc4e0026023b (diff) | |
download | chromium_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.cc | 2 |
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, |