diff options
author | amit@chromium.org <amit@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-08 22:15:10 +0000 |
---|---|---|
committer | amit@chromium.org <amit@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-08 22:15:10 +0000 |
commit | 3f40a6ae6f0f2889a9ef4ad70c44c79590228f3a (patch) | |
tree | 5b06e05fe9a0039ba829341f1bcc6a073992daa2 /chrome_frame/urlmon_url_request.cc | |
parent | 2d6008971ddcd5b33eb390bafdc02d35eedd8b1c (diff) | |
download | chromium_src-3f40a6ae6f0f2889a9ef4ad70c44c79590228f3a.zip chromium_src-3f40a6ae6f0f2889a9ef4ad70c44c79590228f3a.tar.gz chromium_src-3f40a6ae6f0f2889a9ef4ad70c44c79590228f3a.tar.bz2 |
Fix a typo in UrlmonUrlRequest to clear the map during shutdown
In UrlmonUrlRequestManager::StopAll we meant to clear the map but
used map.empty() instead of map.clear().
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/5656004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68649 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome_frame/urlmon_url_request.cc')
-rw-r--r-- | chrome_frame/urlmon_url_request.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome_frame/urlmon_url_request.cc b/chrome_frame/urlmon_url_request.cc index 58a2cff..c4a1968 100644 --- a/chrome_frame/urlmon_url_request.cc +++ b/chrome_frame/urlmon_url_request.cc @@ -1147,7 +1147,7 @@ void UrlmonUrlRequestManager::StopAll() { it->second->Stop(); } - request_map_.empty(); + request_map_.clear(); } void UrlmonUrlRequestManager::OnResponseStarted(int request_id, |