diff options
author | michaeln@chromium.org <michaeln@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-06 03:43:20 +0000 |
---|---|---|
committer | michaeln@chromium.org <michaeln@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-06 03:43:20 +0000 |
commit | 71743c1a6912e07cb6c9fbe342d23f8b4a9f31c1 (patch) | |
tree | e9bd84229087c7308d098b04954ba893a276ffeb /chrome/browser/renderer_host | |
parent | 32ada7f46f4e3a930853df200b3f3303a79e13e6 (diff) | |
download | chromium_src-71743c1a6912e07cb6c9fbe342d23f8b4a9f31c1.zip chromium_src-71743c1a6912e07cb6c9fbe342d23f8b4a9f31c1.tar.gz chromium_src-71743c1a6912e07cb6c9fbe342d23f8b4a9f31c1.tar.bz2 |
Fix a leak. We weren't keeping track of 'public' blob urls properly.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/3570013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61607 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/renderer_host')
-rw-r--r-- | chrome/browser/renderer_host/blob_dispatcher_host.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/renderer_host/blob_dispatcher_host.cc b/chrome/browser/renderer_host/blob_dispatcher_host.cc index 8fdafe5..4e6a2e6 100644 --- a/chrome/browser/renderer_host/blob_dispatcher_host.cc +++ b/chrome/browser/renderer_host/blob_dispatcher_host.cc @@ -78,7 +78,7 @@ void BlobDispatcherHost::OnRegisterBlobUrlFrom( const GURL& url, const GURL& src_url) { DCHECK(ChromeThread::CurrentlyOn(ChromeThread::IO)); blob_storage_context_->controller()->RegisterBlobUrlFrom(url, src_url); - blob_urls_.insert(src_url.spec()); + blob_urls_.insert(url.spec()); } void BlobDispatcherHost::OnUnregisterBlobUrl(const GURL& url) { |