summaryrefslogtreecommitdiffstats
path: root/chrome_frame/urlmon_url_request.cc
diff options
context:
space:
mode:
authordcheng@chromium.org <dcheng@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-11 19:19:42 +0000
committerdcheng@chromium.org <dcheng@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-11 19:19:42 +0000
commit6ca0390061986fc68b8b2242ef6c54e710fcd34d (patch)
tree02248d249c572a66b9c159d968b4f32fd79f985b /chrome_frame/urlmon_url_request.cc
parentd63931391b29f4a940c4e6db4cea87fa3138ab3b (diff)
downloadchromium_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.cc2
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;