diff options
author | dcheng@chromium.org <dcheng@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-04-11 19:19:42 +0000 |
---|---|---|
committer | dcheng@chromium.org <dcheng@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-04-11 19:19:42 +0000 |
commit | 6ca0390061986fc68b8b2242ef6c54e710fcd34d (patch) | |
tree | 02248d249c572a66b9c159d968b4f32fd79f985b /chrome_frame/urlmon_url_request.cc | |
parent | d63931391b29f4a940c4e6db4cea87fa3138ab3b (diff) | |
download | chromium_src-6ca0390061986fc68b8b2242ef6c54e710fcd34d.zip chromium_src-6ca0390061986fc68b8b2242ef6c54e710fcd34d.tar.gz chromium_src-6ca0390061986fc68b8b2242ef6c54e710fcd34d.tar.bz2 |
Rewrite scoped_array<T> to scoped_ptr<T[]> in chrome_frame.
This is a manual cleanup pass using sed for files which are not built on
Linux.
BUG=171111
Review URL: https://chromiumcodereview.appspot.com/14114005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193703 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome_frame/urlmon_url_request.cc')
-rw-r--r-- | chrome_frame/urlmon_url_request.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome_frame/urlmon_url_request.cc b/chrome_frame/urlmon_url_request.cc index a6251bb..2b37d0e 100644 --- a/chrome_frame/urlmon_url_request.cc +++ b/chrome_frame/urlmon_url_request.cc @@ -1216,7 +1216,7 @@ void UrlmonUrlRequestManager::GetCookiesForUrl(const GURL& url, int cookie_id) { &cookie_size); DWORD error = 0; if (cookie_size) { - scoped_array<char> cookies(new char[cookie_size + 1]); + scoped_ptr<char[]> cookies(new char[cookie_size + 1]); if (!InternetGetCookieA(url.spec().c_str(), NULL, cookies.get(), &cookie_size)) { success = false; |