summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
authormirandac@chromium.org <mirandac@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-17 20:20:47 +0000
committermirandac@chromium.org <mirandac@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-17 20:20:47 +0000
commit2ea838305c645c8e1adde79ba3852433a960f3a2 (patch)
tree49a165b4bfe683391e7564db321b0fa24be6db2a /chrome
parentd75a0317e887bd34d5dcd698589f4f2fd58f03bc (diff)
downloadchromium_src-2ea838305c645c8e1adde79ba3852433a960f3a2.zip
chromium_src-2ea838305c645c8e1adde79ba3852433a960f3a2.tar.gz
chromium_src-2ea838305c645c8e1adde79ba3852433a960f3a2.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/8306015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105894 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r--chrome/browser/ui/webui/media/media_internals_proxy.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/ui/webui/media/media_internals_proxy.cc b/chrome/browser/ui/webui/media/media_internals_proxy.cc
index 8e641ce..1d07f72 100644
--- a/chrome/browser/ui/webui/media/media_internals_proxy.cc
+++ b/chrome/browser/ui/webui/media/media_internals_proxy.cc
@@ -26,7 +26,7 @@ MediaInternalsProxy::MediaInternalsProxy()
: ThreadSafeObserverImpl(net::NetLog::LOG_ALL_BUT_BYTES) {
io_thread_ = g_browser_process->io_thread();
registrar_.Add(this, content::NOTIFICATION_RENDERER_PROCESS_TERMINATED,
- NotificationService::AllSources());
+ NotificationService::AllBrowserContextsAndSources());
}
void MediaInternalsProxy::Observe(int type, const NotificationSource& source,