summaryrefslogtreecommitdiffstats
path: root/chrome/browser/automation/automation_profile_impl.h
diff options
context:
space:
mode:
authorananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-05 00:17:14 +0000
committerananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-05 00:17:14 +0000
commit2bebd9963b25ad9e868a719fe56e348c6c153ba7 (patch)
tree49f998348a20ad7a70e36d83012adc851eb4b2c0 /chrome/browser/automation/automation_profile_impl.h
parent5e17ec91e76c813d8fd0aa189a20d51e47ce93ca (diff)
downloadchromium_src-2bebd9963b25ad9e868a719fe56e348c6c153ba7.zip
chromium_src-2bebd9963b25ad9e868a719fe56e348c6c153ba7.tar.gz
chromium_src-2bebd9963b25ad9e868a719fe56e348c6c153ba7.tar.bz2
This CL changes the CookieStore obect to be a refcounted object to get a better handle on its lifetime as there are cases where this object is handed out to URLRequestContext instances which outlive the URLRequestContext object which created it.
Partial fix for http://code.google.com/p/chromium/issues/detail?id=15289 Bug=15289 Review URL: http://codereview.chromium.org/197023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25558 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/automation/automation_profile_impl.h')
-rw-r--r--chrome/browser/automation/automation_profile_impl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/automation/automation_profile_impl.h b/chrome/browser/automation/automation_profile_impl.h
index 7a22fc3..c9aedbe 100644
--- a/chrome/browser/automation/automation_profile_impl.h
+++ b/chrome/browser/automation/automation_profile_impl.h
@@ -202,7 +202,7 @@ class AutomationProfileImpl : public Profile {
protected:
Profile* original_profile_;
- scoped_ptr<net::CookieStore> alternate_cookie_store_;
+ scoped_refptr<net::CookieStore> alternate_cookie_store_;
scoped_refptr<URLRequestContext> alternate_reqeust_context_;
int tab_handle_;