Index: sandbox/win/src/win_utils.cc |
diff --git a/sandbox/win/src/win_utils.cc b/sandbox/win/src/win_utils.cc |
index 8e63ac7ea089357b739a5016f672cc13e93ba649..f5c479a35a2cb732e84e970d39544b80829cc706 100644 |
--- a/sandbox/win/src/win_utils.cc |
+++ b/sandbox/win/src/win_utils.cc |
@@ -191,7 +191,7 @@ bool ConvertToLongPath(const std::wstring& short_path, |
} |
DWORD size = MAX_PATH; |
- scoped_array<wchar_t> long_path_buf(new wchar_t[size]); |
+ scoped_ptr<wchar_t[]> long_path_buf(new wchar_t[size]); |
DWORD return_value = ::GetLongPathName(path.c_str(), long_path_buf.get(), |
size); |