| Index: remoting/host/verify_config_window_win.cc
|
| diff --git a/remoting/host/verify_config_window_win.cc b/remoting/host/verify_config_window_win.cc
|
| index cdb99ac7594b73814a248e533fcd3e4a8501e2cf..d0802088680a4504937bd8b88f3c35e9091c2109 100644
|
| --- a/remoting/host/verify_config_window_win.cc
|
| +++ b/remoting/host/verify_config_window_win.cc
|
| @@ -127,7 +127,7 @@ bool VerifyConfigWindowWin::VerifyHostSecretHash() {
|
|
|
| // Get the PIN length.
|
| int pin_length = pin_edit.GetWindowTextLength();
|
| - scoped_array<char16> pin(new char16[pin_length + 1]);
|
| + scoped_ptr<char16[]> pin(new char16[pin_length + 1]);
|
|
|
| // Get the PIN making sure it is NULL terminated even if an error occurs.
|
| int result = pin_edit.GetWindowText(pin.get(), pin_length + 1);
|
|
|