summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
authormirandac@chromium.org <mirandac@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-17 14:56:16 +0000
committermirandac@chromium.org <mirandac@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-17 14:56:16 +0000
commitd44e159ed4e83cdeb233bdcc55b3b38b00fe0837 (patch)
treebe42ed75fe9f42a537e3ebde596c5181642d47cb /chrome
parentce1f3305fb3e205c2840135200967dec0d8d0e20 (diff)
downloadchromium_src-d44e159ed4e83cdeb233bdcc55b3b38b00fe0837.zip
chromium_src-d44e159ed4e83cdeb233bdcc55b3b38b00fe0837.tar.gz
chromium_src-d44e159ed4e83cdeb233bdcc55b3b38b00fe0837.tar.bz2
Change usage of AllSources to AllBrowserContextsAndSources to indicate that usage is safe for multiprofiles.
BUG=none TEST=none Review URL: http://codereview.chromium.org/8311008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105802 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r--chrome/browser/renderer_host/web_cache_manager.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/renderer_host/web_cache_manager.cc b/chrome/browser/renderer_host/web_cache_manager.cc
index 8ee268d..d6cac02 100644
--- a/chrome/browser/renderer_host/web_cache_manager.cc
+++ b/chrome/browser/renderer_host/web_cache_manager.cc
@@ -65,9 +65,9 @@ WebCacheManager::WebCacheManager()
: global_size_limit_(GetDefaultGlobalSizeLimit()),
ALLOW_THIS_IN_INITIALIZER_LIST(revise_allocation_factory_(this)) {
registrar_.Add(this, content::NOTIFICATION_RENDERER_PROCESS_CREATED,
- NotificationService::AllSources());
+ NotificationService::AllBrowserContextsAndSources());
registrar_.Add(this, content::NOTIFICATION_RENDERER_PROCESS_TERMINATED,
- NotificationService::AllSources());
+ NotificationService::AllBrowserContextsAndSources());
}
WebCacheManager::~WebCacheManager() {