Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1311)

Unified Diff: remoting/host/verify_config_window_win.cc

Issue 13642007: Rewrite scoped_array<T> to scoped_ptr<T[]> in remoting/, Linux edition. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Manually rewrite Win files. Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/host/plugin/host_script_object.cc ('k') | remoting/host/win/elevated_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « remoting/host/plugin/host_script_object.cc ('k') | remoting/host/win/elevated_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698