summaryrefslogtreecommitdiffstats
path: root/net/http/http_stream_factory.h
diff options
context:
space:
mode:
authorakalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-07-18 22:58:16 +0000
committerakalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-07-18 22:58:16 +0000
commit30d4c02828d62976a5b02eae3362c21c76c8fdf5 (patch)
tree136b858a0dfb3c4abcc8de091db0e809243dbc19 /net/http/http_stream_factory.h
parent6f0b138353a9ec881271c9d38ae6c53071496230 (diff)
downloadchromium_src-30d4c02828d62976a5b02eae3362c21c76c8fdf5.zip
chromium_src-30d4c02828d62976a5b02eae3362c21c76c8fdf5.tar.gz
chromium_src-30d4c02828d62976a5b02eae3362c21c76c8fdf5.tar.bz2
[SPDY] Use WeakPtr<HttpServerProperties> instead of raw pointers
This will let us better track down what is causing SpdySessions to be accessing them after they're destroyed, since we'll have crash reports instead of just the SyzyASAN reports. Also use scoped_ptr<HttpServerProperties> when appropriate. BUG=236451 TBR=ajwong@chromium.org, rtenneti@chromium.org, simonjam@chromium.org, wez@chromium.org Review URL: https://codereview.chromium.org/19731002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@212466 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/http/http_stream_factory.h')
-rw-r--r--net/http/http_stream_factory.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/http/http_stream_factory.h b/net/http/http_stream_factory.h
index bef3b5d..79ca388 100644
--- a/net/http/http_stream_factory.h
+++ b/net/http/http_stream_factory.h
@@ -176,7 +176,7 @@ class NET_EXPORT HttpStreamFactory {
virtual ~HttpStreamFactory();
void ProcessAlternateProtocol(
- HttpServerProperties* http_server_properties,
+ const base::WeakPtr<HttpServerProperties>& http_server_properties,
const std::string& alternate_protocol_str,
const HostPortPair& http_host_port_pair);