summaryrefslogtreecommitdiffstats
path: root/chrome/browser/renderer_host
diff options
context:
space:
mode:
authormpcomplete@chromium.org <mpcomplete@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-17 23:32:05 +0000
committermpcomplete@chromium.org <mpcomplete@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-17 23:32:05 +0000
commita9d8d382fab207a4216e1789a2635521b7b53389 (patch)
treec6609426cfd5f87612692bd913e3207efaa684fb /chrome/browser/renderer_host
parentc16548359bbab8ca1adaca4653f092fba4dbcee0 (diff)
downloadchromium_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.cc6
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,