Index: base/win/win_util.cc |
diff --git a/base/win/win_util.cc b/base/win/win_util.cc |
index e0d37f2b0f8ba6d62d103a40babb2429f3508feb..875dbadc45935b010ea71e688179f125558fdd79 100644 |
--- a/base/win/win_util.cc |
+++ b/base/win/win_util.cc |
@@ -83,7 +83,7 @@ bool GetUserSidString(std::wstring* user_sid) { |
base::win::ScopedHandle token_scoped(token); |
DWORD size = sizeof(TOKEN_USER) + SECURITY_MAX_SID_SIZE; |
- scoped_array<BYTE> user_bytes(new BYTE[size]); |
+ scoped_ptr<BYTE[]> user_bytes(new BYTE[size]); |
TOKEN_USER* user = reinterpret_cast<TOKEN_USER*>(user_bytes.get()); |
if (!::GetTokenInformation(token, TokenUser, user, size, &size)) |