diff options
author | mpcomplete@chromium.org <mpcomplete@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-17 23:32:05 +0000 |
---|---|---|
committer | mpcomplete@chromium.org <mpcomplete@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-17 23:32:05 +0000 |
commit | a9d8d382fab207a4216e1789a2635521b7b53389 (patch) | |
tree | c6609426cfd5f87612692bd913e3207efaa684fb /chrome/browser/renderer_host | |
parent | c16548359bbab8ca1adaca4653f092fba4dbcee0 (diff) | |
download | chromium_src-a9d8d382fab207a4216e1789a2635521b7b53389.zip chromium_src-a9d8d382fab207a4216e1789a2635521b7b53389.tar.gz chromium_src-a9d8d382fab207a4216e1789a2635521b7b53389.tar.bz2 |
Fix a bug where incognito renderer hosts would not receive updates for
extensions.
BUG=42787
Review URL: http://codereview.chromium.org/2110007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47471 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/renderer_host')
-rw-r--r-- | chrome/browser/renderer_host/browser_render_process_host.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/renderer_host/browser_render_process_host.cc b/chrome/browser/renderer_host/browser_render_process_host.cc index 09c1fbf..a9b5c48 100644 --- a/chrome/browser/renderer_host/browser_render_process_host.cc +++ b/chrome/browser/renderer_host/browser_render_process_host.cc @@ -200,11 +200,11 @@ BrowserRenderProcessHost::BrowserRenderProcessHost(Profile* profile) widget_helper_ = new RenderWidgetHelper(); registrar_.Add(this, NotificationType::USER_SCRIPTS_UPDATED, - Source<Profile>(profile)); + Source<Profile>(profile->GetOriginalProfile())); registrar_.Add(this, NotificationType::EXTENSION_LOADED, - Source<Profile>(profile)); + Source<Profile>(profile->GetOriginalProfile())); registrar_.Add(this, NotificationType::EXTENSION_UNLOADED, - Source<Profile>(profile)); + Source<Profile>(profile->GetOriginalProfile())); registrar_.Add(this, NotificationType::SPELLCHECK_HOST_REINITIALIZED, NotificationService::AllSources()); registrar_.Add(this, NotificationType::SPELLCHECK_WORD_ADDED, |