diff options
author | scherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-04-30 01:04:32 +0000 |
---|---|---|
committer | scherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-04-30 01:04:32 +0000 |
commit | aa249b505342a9e1203440dcd04b94901fbf8f80 (patch) | |
tree | 2419a4b1487dd81d057c102d75c6a0de5530ed14 /net/http/http_stream_parser.cc | |
parent | 242aa4f94fa0bcc9558e17217c464cf5a98f790b (diff) | |
download | chromium_src-aa249b505342a9e1203440dcd04b94901fbf8f80.zip chromium_src-aa249b505342a9e1203440dcd04b94901fbf8f80.tar.gz chromium_src-aa249b505342a9e1203440dcd04b94901fbf8f80.tar.bz2 |
net: Remove use of ALLOW_THIS_IN_INITIALIZER_LIST.
It's no longer providing value as the MSVC warning is disabled during compilation. Refer to bug for details.
BUG=234765
R=rch@chromium.org
Review URL: https://codereview.chromium.org/14113037
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197200 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/http/http_stream_parser.cc')
-rw-r--r-- | net/http/http_stream_parser.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/http/http_stream_parser.cc b/net/http/http_stream_parser.cc index 17b1b23..3c64ee6 100644 --- a/net/http/http_stream_parser.cc +++ b/net/http/http_stream_parser.cc @@ -186,7 +186,7 @@ HttpStreamParser::HttpStreamParser(ClientSocketHandle* connection, connection_(connection), net_log_(net_log), sent_last_chunk_(false), - ALLOW_THIS_IN_INITIALIZER_LIST(weak_ptr_factory_(this)) { + weak_ptr_factory_(this) { io_callback_ = base::Bind(&HttpStreamParser::OnIOComplete, weak_ptr_factory_.GetWeakPtr()); } |