summaryrefslogtreecommitdiffstats
path: root/net/socket_stream
diff options
context:
space:
mode:
authorukai@chromium.org <ukai@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-18 10:00:00 +0000
committerukai@chromium.org <ukai@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-18 10:00:00 +0000
commit8e221d64638f79b9f6ca2054e03acae6907e1590 (patch)
treef1e3c6588ac77ee11c1fe461a25dfc8f9306e606 /net/socket_stream
parentdb2163b096c21ead6b6ffbdfe1252ab7bca70962 (diff)
downloadchromium_src-8e221d64638f79b9f6ca2054e03acae6907e1590.zip
chromium_src-8e221d64638f79b9f6ca2054e03acae6907e1590.tar.gz
chromium_src-8e221d64638f79b9f6ca2054e03acae6907e1590.tar.bz2
EndEvent when context has been changed
as URLRequest::set_context() does. BUG=none TEST=none Review URL: http://codereview.chromium.org/1000006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41933 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/socket_stream')
-rw-r--r--net/socket_stream/socket_stream.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/socket_stream/socket_stream.cc b/net/socket_stream/socket_stream.cc
index e46f306..b6d3a65 100644
--- a/net/socket_stream/socket_stream.cc
+++ b/net/socket_stream/socket_stream.cc
@@ -89,7 +89,7 @@ void SocketStream::set_context(URLRequestContext* context) {
context_ = context;
if (prev_context != context) {
- net_log_.AddEvent(NetLog::TYPE_REQUEST_ALIVE);
+ net_log_.EndEvent(NetLog::TYPE_REQUEST_ALIVE);
net_log_ = BoundNetLog();
if (context) {