diff options
author | ericroman@google.com <ericroman@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-21 23:10:57 +0000 |
---|---|---|
committer | ericroman@google.com <ericroman@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-21 23:10:57 +0000 |
commit | af4876d348f986491afae8818613351d48192bfd (patch) | |
tree | c43ac118a1436eb7e244ab99d9cc9f986923f11b /net/url_request/url_request_http_job.h | |
parent | 2296ac4b146d7614d812dc56aeee53c14459b342 (diff) | |
download | chromium_src-af4876d348f986491afae8818613351d48192bfd.zip chromium_src-af4876d348f986491afae8818613351d48192bfd.tar.gz chromium_src-af4876d348f986491afae8818613351d48192bfd.tar.bz2 |
Remove HttpTransaction::Destroy(), and do automatic memory management with scoped_ptr<>.
Review URL: http://codereview.chromium.org/7532
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3701 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/url_request/url_request_http_job.h')
-rw-r--r-- | net/url_request/url_request_http_job.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/url_request/url_request_http_job.h b/net/url_request/url_request_http_job.h index b984722..c8e3ba2 100644 --- a/net/url_request/url_request_http_job.h +++ b/net/url_request/url_request_http_job.h @@ -68,7 +68,7 @@ class URLRequestHttpJob : public URLRequestJob { void OnReadCompleted(int result); net::HttpRequestInfo request_info_; - net::HttpTransaction* transaction_; + scoped_ptr<net::HttpTransaction> transaction_; const net::HttpResponseInfo* response_info_; std::vector<std::string> response_cookies_; |